unilab.tasks.motion_tracking.common.tensor_sampler.MotionSamplerDiagnostics

class unilab.tasks.motion_tracking.common.tensor_sampler.MotionSamplerDiagnostics[source]

Bases: object

Count observed compatibility paths that would defeat tensor-only resets.

The sampler itself no longer transfers rows to the host. We retain a real (not synthesized) counter for reset sampling calls so diagnostics can assert that reset dispatch happened while host-transfer counts remain structurally zero.

Parameters:
  • reset_dispatches (int)

  • reset_host_row_transfers (int)

  • step_host_mirror_transfers (int)

Methods

__init__([reset_dispatches, ...])

record_reset_dispatch()

Attributes

reset_dispatches: int = 0
reset_host_row_transfers: int = 0
step_host_mirror_transfers: int = 0
record_reset_dispatch()[source]
Return type:

None

property total: int
__init__(reset_dispatches=0, reset_host_row_transfers=0, step_host_mirror_transfers=0)
Parameters:
  • reset_dispatches (int)

  • reset_host_row_transfers (int)

  • step_host_mirror_transfers (int)