MCPcopy Create free account
hub / github.com/Netflix/void-model / reset

Method reset

videox_fun/models/cache_utils.py:67–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 return rel_l1_distance.cpu().item()
66
67 def reset(self):
68 self.cnt = 0
69 self.should_calc = True
70 self.accumulated_rel_l1_distance = 0
71 self.previous_modulated_input = None
72 self.previous_residual = None
73 self.previous_residual_cond = None
74 self.previous_residual_uncond = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected