MLArrayType
class NatML.Types.MLArrayType : MLFeatureType
This feature type describes multidimensional arrays or tensors.
Creating the Type
An array type is created with a data type and a corresponding shape.
There is another constructor which accepts a feature name:
Inspecting the Type
Inspecting the Shape
The array type provides the shape of its corresponding feature.
Dimensions
The type provides a convenience property for the number of dimensions which the array feature has.
Element Count
The type provides a convenience property for the number of elements which the array feature has.
Last updated
Was this helpful?