MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / __init__

Method __init__

mogen/models/utils/gaussian_diffusion.py:1285–1288  ·  view source on GitHub ↗
(self, model, timestep_map, original_num_steps)

Source from the content-addressed store, hash-verified

1283class _WrappedModel:
1284
1285 def __init__(self, model, timestep_map, original_num_steps):
1286 self.model = model
1287 self.timestep_map = timestep_map
1288 self.original_num_steps = original_num_steps
1289
1290 def __call__(self, x, ts, **kwargs):
1291 map_tensor = th.tensor(self.timestep_map,

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected