type

states.State

class State:

A named field on the tracklet snapshot with predict/update/init logic.

The field name is set by the :class:`~unitrack.tracker.Tracker`'s ``states={...}`` dict key and is therefore not stored on the :class:`~unitrack.states.State` itself, so the same :class:`~unitrack.states.State` instance can be reused under different keys.

Parameters

NameTypeDescription
schema~unitrack.data.TensorSpecPer-tracklet tensor shape and dtype for the field.
processProcessPredict-step implementation.
observationObservationUpdate-step implementation.
initInitializerFactory for new-tracklet initial values.

Members

method

Source: unitrack/states/base.py:115