gather
Gather properties of Statistics and Machine Learning Toolbox object from GPU
Since R2020b
Syntax
Description
gathers all properties of the input object gatheredObj
= gather(obj
)obj
and returns the gathered
object gatheredObj
. All properties of the output object are stored in
the local workspace.
Use gather
to create a Statistics and Machine Learning Toolbox™ object with properties stored in the local workspace from an object fitted
using data stored as a GPU array. For more details on GPU arrays, see gpuArray
(Parallel Computing Toolbox). Using a GPU requires Parallel Computing Toolbox™ and a supported GPU device. For information on supported devices, see GPU Computing Requirements (Parallel Computing Toolbox).
Examples
Input Arguments
More About
Tips
Gathering GPU arrays can be costly and is generally not necessary unless you need to use the results with functions that do not support GPU arrays. For the complete list of Statistics and Machine Learning Toolbox functions that accept GPU arrays, see Function List (GPU Arrays).
You can also call
gather
on other data types, such as distributed, codistributed, or tall arrays. If the data type does not support gathering, thengather
has no effect.
Extended Capabilities
Version History
Introduced in R2020bSee Also
gather
(Parallel Computing Toolbox) | gpuArray
(Parallel Computing Toolbox) | LinearModel
| GeneralizedLinearModel
| RegressionLinear
| RegressionPartitionedLinear
| RegressionSVM
| CompactRegressionSVM
| RegressionPartitionedSVM
| ClassificationLinear
| ClassificationPartitionedLinear
| ClassificationKNN
| ClassificationTree
| ClassificationEnsemble
| ClassificationECOC
| RegressionTree
| fitdist