MCPcopy Create free account
hub / github.com/modelscope/DiffSynth-Studio / __call__

Method __call__

diffsynth/trainers/unified_dataset.py:216–217  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

214 self.map_location = map_location
215
216 def __call__(self, data):
217 return torch.load(data, map_location=self.map_location, weights_only=False)
218
219
220

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected