type

states.ConstantInitializer

class ConstantInitializer:

:class:`Initializer` that fills the schema-shaped buffer with a constant.

Used to seed scalar auxiliary fields such as a von Mises-Fisher concentration or a gallery fill-count. The fill value is cast to the schema dtype.

Parameters

NameTypeDescription
schema~unitrack.data.TensorSpecPer-tracklet shape and dtype.
valuefloatConstant fill value.

Members

method

  • __call__Return a constant-filled buffer shaped for the given detections batch.
  • __init__

property

Source: unitrack/states/identity.py:204