costs.Weighted.__call__
def __call__(self, cs: Tracklets, ds: Detections, ctx: FrameContext) -> CostExpressionRun :attr:`inner` and scale its cost matrix.
Parameters
| Name | Type | Description |
|---|---|---|
| cs | Tracklets | Forwarded to :attr:`inner` unchanged. |
| ds | Tracklets | Forwarded to :attr:`inner` unchanged. |
| ctx | Tracklets | Forwarded to :attr:`inner` unchanged. |
Returns
CostExpression — The inner expression with ``matrix`` multiplied by :attr:`weight`; attached gates and bias are preserved.
Source: unitrack/costs/combinators.py:34