Python wrappers
Public Python APIs implemented by this engine symbol.Histogram counts over with bins uniform buckets.
Composite — counts-only wrapper around histogram_op. When
lo == hi the range is auto-derived from the input via min_op
and max_op, with the degenerate min == max case bumped by
so the bins remain well-defined (matches reference framework
behaviour). Not differentiable — integer-valued output.
Math
Let . Then for each bin index ,
See Also
histogram_op — full version that also returns bin edges.
Parameters
aTensorImplPtrInput tensor of arbitrary shape.
binsint64Number of histogram bins. Must be positive.
lodoubleInclusive lower edge. If
lo == hi, auto-range from min(a) to max(a).hidoubleExclusive upper edge.
Returns
TensorImplPtr1-D tensor of length bins holding integer counts.
Raises
FailureIf
a is null.Notes
Values outside [lo, hi) are dropped silently by the underlying
histogram_op — no overflow / underflow bins are returned.