Python wrappers
Public Python APIs implemented by this engine symbol.Reduce a by multiplication along axes.
Promotes narrow integer dtypes to int64 (same headroom logic as
sum_op).
See Also
ProdBackward — backward node.
Parameters
aTensorImplPtrInput tensor.
axesstd::vector<int>Axes to reduce. Negative indices wrap.
keepdimsboolIf
true, retains reduced dims as size-1.Returns
TensorImplPtrOutput tensor. Empty reductions yield .