[ CCode ( has_construct_function = false ) ]
[ Version ( since = "21.0.0" ) ]
public FixedShapeTensorDataType (DataType value_type, int64[] shape, int64[]? permutation, string[]? dim_names) throws Error
| value_type |
A DataType of individual tensor elements. |
| shape |
A physical shape of the contained tensors as an array. |
| permutation |
An indices of the desired ordering of the original dimensions, defined as an array. This must be `NULL` or the same length array of `shape`. |
| dim_names |
Explicit names to tensor dimensions as an array. This must be `NULL` or the same length array of `shape`. |
| permutation_length |
The length of `permutation`. |
| shape_length |
The length of `shape`. |
|
The newly created fixed shape tensor data type. |