Tensor<T> Properties
Properties
Attributes | Gets attributes associated with the tensor. |
Back | Gets the set of operators for tensors of this element type. |
Compressed | Gets the axis or dimension along which elements are compressed. |
Element | Gets the type of the elements of the tensor. |
Flattened | Gets the total number of elements in the tensor. |
Has | Gets whether the tensor's element type supports basic linear algebra operations. |
IsCompressed | Gets whether the elements of the tensor are compressed along a dimension. |
IsContiguous | Gets whether the elements of the tensor are stored contiguously. |
IsC | Gets whether the elements of the tensor are stored in contiguous C-style order, with the last index changing fastest. |
IsFortran | Gets whether the elements of the tensor are stored in contiguous Fortran-style order, with the first index changing fastest. |
IsScalar | Gets whether the tensor represents a scalar. |
Item[AdvancedTensorIndex] | Gets or sets the elements of a tensor specified by an 'advanced' tensor index. |
Item[AdvancedTensorIndex[]] | Gets or sets the elements of a tensor specified by a set of tensor indices. |
Item[ReadOnlySpan<TensorIndex>] | Gets or sets the elements of a tensor specified by a set of tensor indices. |
Item[Tensor<Boolean>] | Gets or sets the elements whose corresponding value in a boolean tensor is true. |
Item[TensorIndex] | Gets or sets the elements of a tensor specified by a tensor index. |
Item[TensorIndex[]] | Gets or sets the elements of a tensor specified by a set of tensor indices. |
Item[AdvancedTensorIndex, AdvancedTensorIndex] | Gets or sets the elements of a tensor specified by two 'advanced' tensor indices. |
Item[TensorIndex, TensorIndex] | Gets or sets the elements of a tensor specified by two tensor indices. |
Item[AdvancedTensorIndex, AdvancedTensorIndex, AdvancedTensorIndex] | Gets or sets the elements of a tensor specified by three 'advanced' tensor indices. |
Item[TensorIndex, TensorIndex, TensorIndex] | Gets or sets the elements of a tensor specified by three tensor indices. |
Layout | Gets the layout of the tensor in memory. |
Precedence | Infrastructure. This property supports the Numerics.NET infrastructure and is not intended to be used directly from your code. |
Rank | Gets the number of dimensions of the tensor. |
Shape | Gets the shape (dimensions) of the tensor. |
Value | Gets the value of the first element in the tensor. |