Main Content class


(Not recommended) Add parallelization support to datastore is not recommended. For more information, see Compatibility Considerations.

Description is an abstract mixin class that adds parallelization support to your custom datastore for use with Deep Learning Toolbox™. This class requires Parallel Computing Toolbox™.

To use this mixin class, you must inherit from the class in addition to inheriting from the base class. Type the following syntax as the first line of your class definition file:

classdef MyDatastore < & ...

To add support for parallel processing to your custom datastore, you must:

  • Inherit from an additional class

  • Define the additional method: partitionByIndex

For more details and steps to create your custom datastore with parallel processing support, see Develop Custom Mini-Batch Datastore.


partitionByIndex(Not recommended) Partition a datastore according to indices



For information on class attributes, see Class Attributes.

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

Compatibility Considerations

expand all

Not recommended starting in R2019a

Introduced in R2018a