Tutorials
Examples
References
Other
Community
chainerx.
subtract
Subtract arguments, element-wise.
x1 (ndarray or scalar) – Input array.
x2 (ndarray or scalar) – Input array.
Returned array: \(y = x_1 - x_2\).
ndarray
Note
During backpropagation, this function propagates the gradient of the output array to the input arrays x1 and x2.
x1
x2
See also
numpy.subtract