MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

sat/vae_modules/regularizers.py:91–93  ·  view source on GitHub ↗
(self, sample: bool = True)

Source from the content-addressed store, hash-verified

89
90class DiagonalGaussianRegularizer(AbstractRegularizer):
91 def __init__(self, sample: bool = True):
92 super().__init__()
93 self.sample = sample
94
95 def get_trainable_parameters(self) -> Any:
96 yield from ()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected