UT3Variations.allclose#

t3toolbox.uniform_frame_variations_format.UT3Variations.allclose(other, rtol=None, atol=None)#
def allclose(
        self,
        other: 'UT3Variations',

        rtol:  typ.Optional[float] = None,  # None: the ambient jax-aware default (safety.comparison_rtol)
        atol:  typ.Optional[float] = None,  # None: 0.0
) -> NDArray:  # bool, shape = stack_shape (K+C); scalar unstacked; reduce with .all()

True where the MASKED variation supercores are numerically equal (coordinate-level, padding don’t-care), per stack element (norm-based atol + rtol * max reference). Different shape or rank masks raise. Bitwise incl. padding: corewise_equal(); == is undefined.

Parameters:
  • other (UT3Variations)

  • rtol (t3toolbox.backend.common.typ.Optional[float])

  • atol (t3toolbox.backend.common.typ.Optional[float])

Return type:

NDArray