public interface ITensor
| Modifier and Type | Method and Description |
|---|---|
int[] |
createCoor()
Creates a new coordinate for this tensor.
|
java.lang.Class |
getDataType()
Class of primitive data type used to store tensor |
int |
getDimension()
Returns the number of dimensions in the tensor
|
int[] |
getShape()
Returns the internal array that specifies the tensor's shape.
|
boolean |
isShape(int... shape)
Checks to see if the supplied shape is the same as the tensor's shape
|
int |
length(int dimension)
Returns the length of a dimension/axis.
|
int[] getShape()
boolean isShape(int... shape)
shape - int[] which specifies the shape ofa tensorint length(int dimension)
dimension - The dimension/axisint[] createCoor()
int getDimension()
java.lang.Class getDataType()
Class of primitive data type used to store tensor