Package deepnetts.tensor
Interface Tensor
- All Known Implementing Classes:
Tensor1D
,Tensor2D
,Tensor3D
,Tensor4D
,TensorBase
public interface Tensor
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
Returns values stored in this tensor.int
shape()
Returns the shape of this tensor.
-
Method Details
-
shape
-
numDimensions
int numDimensions() -
getValues
float[] getValues()Returns values stored in this tensor.- Returns:
-