UT3FrameWeights.allclose#

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

        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 (C); scalar unstacked; reduce with .all()

True where the MASKED weight supercores are numerically equal, per stack element (norm-based atol + rtol * max reference). Different masks raise. Bitwise incl. padding: corewise_equal(); == is undefined.

Parameters:
  • other (UT3FrameWeights)

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

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

Return type:

NDArray