releaseGPUMemory
R2026bDescription
Add-On Required: This feature requires the Computer Vision Toolbox Model for Apple DepthPro Network add-on.
releaseGPUMemory( releases the GPU
memory allocated to the depth estimation model object depthModel)depthModel.
Use this function to free GPU resources after estimating depth maps on a GPU by using
the estimateDepth function. After you call
releaseGPUMemory, the model reloads automatically when you call
estimateDepth again. The model loads onto the execution device
specified by the ExecutionEnvironment name-value argument.
Examples
Input Arguments
Version History
Introduced in R2026b