div abstract method
Calculates fraction of two tensors.
Element i
is calculated with the formula:
x[i] = x[i] / right[i];
If swapArguments
is true
, the arguments will be swapped.
Throws ArgumentError if tensor shapes is non-equal.
Implementation
void div(Tensor<T> right, {bool swapArguments = false});