states.Initializer.__call__
def __call__(self, ds: Detections, ctx: FrameContext) -> torch.TensorReturn initial tensor values for new tracklets.
Parameters
| Name | Type | Description |
|---|---|---|
| ds | Detections | Detections promoted to new tracklets this frame. |
| ctx | FrameContext | Frame context. |
Returns
torch.Tensor — Field-shaped initial values, one row per new tracklet.
Source: unitrack/states/base.py:95