T3Variations.zeros#
- static t3toolbox.frame_variations_format.T3Variations.zeros(variation_shapes, stack_shape=(), use_jax=False)#
def zeros( variation_shapes, # (tucker_variation_shapes, tt_variation_shapes) stack_shape: typ.Tuple[int, ...] = (), # full leading stack K + C use_jax: bool = False, ) -> 'T3Variations':
Zero variations of the given structure (additive identity).
variation_shapes = (tucker_variation_shapes, tt_variation_shapes)– e.g. a frame’sT3Frame.variation_shapes. (Seezeros_like()to take the structure from an object.)- Parameters:
stack_shape (t3toolbox.backend.common.typ.Tuple[int, Ellipsis])
use_jax (bool)
- Return type: