UT3Variations.zeros#

static t3toolbox.uniform_frame_variations_format.UT3Variations.zeros(uniform_variation_shapes, shape, stack_shape=(), masks=None, use_jax=False)#
def zeros(
        uniform_variation_shapes,                    # ((d, nD, N), (d, rL, nU, rR)) -- the padded supercore dims
        shape:       typ.Sequence[int],              # (N0,...,N(d-1)) real mode dims
        stack_shape: typ.Tuple[int, ...] = (),
        masks:       typ.Optional['UT3VariationsMasks'] = None,  # None -> all-True (full rank)
        use_jax:     bool = False,
) -> 'UT3Variations':

Zero variations filling the padded supercores completely (additive identity). masks optional; None -> all-True. (See zeros_like() to take the structure – incl. gauge masks – from a UT3Frame / UT3Variations.)

Parameters:
  • shape (t3toolbox.backend.common.typ.Sequence[int])

  • stack_shape (t3toolbox.backend.common.typ.Tuple[int, Ellipsis])

  • masks (t3toolbox.backend.common.typ.Optional[UT3VariationsMasks])

  • use_jax (bool)

Return type:

UT3Variations