MCPcopy Create free account
hub / github.com/TeleHuman/PBHC / reset

Method reset

humanoidverse/utils/noise_tool.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return (self.mu, self.sigma / np.sqrt(2 * self.theta))
59
60 def reset(self):
61 self.x = self.randn(*self.shape) * self.sigma / np.sqrt(2 * self.theta) + self.mu
62
63 def reset_part(self, mask: np.ndarray):
64 # mask: bool array with same shape as self.x

Callers 4

__init__Method · 0.95
_resetMethod · 0.45
ResetMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected