fn
isclose_op
→TensorImplPtrint isclose_op(const int & a, const int & b, double rtol, double atol)Python wrappers
Public Python APIs implemented by this engine symbol.Elementwise tolerance check: .
Composite over sub_op + abs_op + mul_op +
add_op + less_equal_op — no dedicated kernel required.
rtol and atol are materialised as same-shape constant tensors so
the multiply does not depend on any scalar-broadcast support in the
binary ops. Returns a bool tensor; not differentiable.
Math
Parameters
a, bTensorImplPtrBroadcastable operands.
rtoldoubleRelative tolerance (asymmetric in
b).atoldoubleAbsolute tolerance.
Returns
TensorImplPtrBool tensor on the broadcast shape of a and b.
Notes
The asymmetry in b matches the reference framework's convention —
swap operands if the symmetric formulation is needed.