fn
scatter_amin_op
→TensorImplPtrint scatter_amin_op(const int & base, const int & indices, const int & src, int dim)Scatter with element-wise min reduction at duplicate indices.
Math
At each output slot , the result is the minimum among base[i]
and all src[j] with indices[j] == i.
See Also
scatter_amax_op : Companion max variant.
Parameters
base, indices, src, dimSame semantics as
scatter_add_op.Returns
TensorImplPtrReduced tensor, same shape and dtype as base.
Notes
Backward identical to scatter_amax_op with the winner predicate
flipped to "matches the output minimum".