Elements in row-major order with the shape they fill exactly.
Moduleonnxruntime-0.1.0.0GHC2024
OnnxRuntime.Tensor
Tensors as storable vectors in row-major order with the shape they fill exactly.
Synopsis
- data Tensor
- value tensorShape
- value tensorData
- value tensor
- data SomeTensor
- value someElementType
- value someShape
- value castTensor
- Packageonnxruntime-0.1.0.0
- Exports8
- LanguageGHC2024
- LicenceMIT
- SourceTensor.hs
A tensor when the shape holds exactly the elements given and no dimension is negative.
A tensor of any element type, as a run takes and gives them.
Constructors
SomeTensor :: Element a => Tensor a -> SomeTensor
Instances2Eq, Show
Eq SomeTensorDefined in onnxruntime-0.1.0.0 · OnnxRuntime.TensorShow SomeTensorDefined in onnxruntime-0.1.0.0 · OnnxRuntime.Tensor
The tensor, when it holds elements of this type.