Python wrappers
Public Python APIs implemented by this engine symbol.Compute the elementwise minimum with broadcasting and autograd support.
Parameters
aTensorImplPtrFirst operand.
bTensorImplPtrSecond operand. Broadcast-compatible with
a.Returns
TensorImplPtrTensor of shape broadcast(a.shape, b.shape) holding the elementwise minimum.
Notes
At ties () the gradient is routed entirely to a. When
grad-tracking is on, registers a MinimumBackward node which saves
both inputs.
Examples
>>> auto y = minimum_op(a, b); // y[i] = min(a[i], b[i]) with broadcasting