TensorPartialDivisionAlgebra
Algebra over a field with partial division on Tensor. For more information: https://proofwiki.org/wiki/Definition:Division_Algebra
Parameters
the type of items closed under division in the tensors.
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.
Each element of the tensor arg is divided by this value. The resulting tensor is returned.
Divide by the scalar arg each element of this tensor returns a new resulting tensor.
Each element of the tensor arg is divided by each element of this tensor. The resulting tensor is returned.
Matrix product of two tensors.
Returns the maximum value of all elements in the input tensor or null if there are no values
Returns the maximum value of each row of the input tensor in the given dimension dim.
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.
Each element of the tensor arg is added to this value. The resulting tensor is returned.
Adds the scalar arg to each element of this tensor and returns a new resulting tensor.
Each element of the tensor arg is added to each element of this tensor. The resulting tensor is returned.
Each element of the tensor arg is multiplied by this value. The resulting tensor is returned.
Multiplies the scalar arg by each element of this tensor and returns a new resulting tensor.
Each element of the tensor arg is multiplied by 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