sub abstract method
Subtracts elements of the arguments.
Element i
is calculated with the formula:
x[i] = x[i] - right[i];
Throws ArgumentError if tensor shapes are not equal.
Implementation
void sub(Tensor<T> right);
Subtracts elements of the arguments.
Element i
is calculated with the formula:
x[i] = x[i] - right[i];
Throws ArgumentError if tensor shapes are not equal.
void sub(Tensor<T> right);