TensorAlgebra
Algebra over a ring on Tensor. For more information: https://proofwiki.org/wiki/Definition:Algebra_over_Ring
Parameters
the type of items in the tensors.
Inheritors
Functions
Creates a tensor whose diagonals of certain 2D planes (specified by dim1 and dim2) are filled by diagonalEntries. To facilitate creating batched diagonal matrices, the 2D planes formed by the last two dimensions of the returned tensor are chosen by default.
Matrix product of two tensors.
Each element of the tensor arg is subtracted from this value. The resulting tensor is returned.
Subtracts the scalar arg from each element of this tensor and returns a new resulting tensor.
Each element of the tensor arg is subtracted from each element of this tensor. The resulting tensor is returned.
Numerical negative, element-wise.
Returns a single tensor value of unit dimension. The tensor shape must be equal to 1.
Returns a single tensor value of unit dimension if tensor shape equals to 1.
Returns a new tensor with the same data as the self tensor but of a different shape. The returned tensor shares the same data and must have the same number of elements, but may have a different size For more information: https://pytorch.org/docs/stable/tensor_view.html