add abstract method
Calculates sum of two tensors.
Element i
is calculated with the formula:
x[i] = x[i] + right[i];
Throws ArgumentError if tensor shapes are not equal.
Implementation
void add(Tensor<T> right);
Calculates sum of two tensors.
Element i
is calculated with the formula:
x[i] = x[i] + right[i];
Throws ArgumentError if tensor shapes are not equal.
void add(Tensor<T> right);