Interface ITensorFrontend<'T>
Tensor frontend access (for use from backend).
Namespace: Tensor.Backend
Assembly: Tensor.dll
Syntax
interface ITensorFrontend<'T>
Type Parameters
| Name | Description |
|---|---|
| 'T |
Properties
| Name | Description |
|---|---|
| abstract property Backend: ITensorBackend<'T> | the backend |
| abstract property Dev: ITensorDevice | storage factory |
| abstract property Layout: TensorLayout | layout of this tensor (shape, offset and strides) |
| abstract property NDims: int | number of dimensions |
| abstract property NElems: int64 | number of elements |
| abstract property Offset: int64 | stride |
| abstract property Shape: int64 list | shape |
| abstract property Storage: ITensorStorage<'T> | storage of this tensor |
| abstract property Stride: int64 list | stride |
| abstract property T: ITensorFrontend<'T> | Transpose |
Methods
| Name | Description |
|---|---|
| abstract member Copy: TensorOrder option -> ITensorFrontend<'T> | returns a copy of the tensor |
| abstract member CopyFrom: ITensorFrontend<'T> -> unit | Copies the specifed tensor into this tensor. |
| abstract member Relayout: TensorLayout -> ITensorFrontend<'T> | a tensor with the same storage but new layout |
| abstract member Transfer: ITensorDevice -> ITensorFrontend<'T> | Transfers this tensor to the specifed device. |