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