t% ( x y -- tensor )
Tensors ยป Manipulating Tensors

Prev:t/ ( x y -- tensor )
Next:matmul ( tensor1: tensor tensor2: tensor -- tensor3: tensor )


Vocabulary
tensors

Inputs
xa tensor or a number
ya tensor or a number


Outputs
tensora tensor


Word description
Element-wise modulo operator. Intakes two tensors or a tensor and a number (in either order).

Errors
Throws a shape-mismatch-error if passed two tensors that are not (or cannot be broadcast to be) the same shape.

Definition