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

Prev:flatten ( tensor -- tensor )
Next:t- ( x y -- tensor )


Vocabulary
tensors

Inputs
xa tensor or a number
ya tensor or a number


Outputs
tensora tensor


Word description
Element-wise addition. 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