giagrad.Tensor.sub#

Tensor.sub(other) Tensor[source]#

Returns a new tensor with the substraction of other from data.

Parameters:

other (array_like or float) – The number or object to substract from data.