uniform_derivatives_kind#

t3toolbox.backend.uniform_fitting.uniform_derivatives_kind(name, x0_data, order, weight=None, chunk_size=100)#
def uniform_derivatives_kind(
        name:       str,        # 'apply_derivatives' / 'entries_derivatives' / 'probe_derivatives'
        x0_data:    typ.Tuple,  # UniformTuckerTensorTrain.data at the fixed rank
        order:      int,
        weight:     typ.Optional[typ.Sequence[float]] = None,
        chunk_size: typ.Optional[int] = 100,   # probe_derivatives only (its 𝒥ᵀ assembly chunks); ignored otherwise
) -> bfit.SamplingKind:

Dispatch to the uniform derivative sampling kind by name.

Parameters:
  • name (str)

  • x0_data (t3toolbox.backend.common.typ.Tuple)

  • order (int)

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

  • chunk_size (t3toolbox.backend.common.typ.Optional[int])

Return type:

SamplingKind