MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __call__

Method __call__

diffusers/src/diffusers/callbacks.py:42–43  ·  view source on GitHub ↗
(self, pipeline, step_index, timestep, callback_kwargs)

Source from the content-addressed store, hash-verified

40 raise NotImplementedError(f"You need to implement the method `callback_fn` for {self.__class__}")
41
42 def __call__(self, pipeline, step_index, timestep, callback_kwargs) -> Dict[str, Any]:
43 return self.callback_fn(pipeline, step_index, timestep, callback_kwargs)
44
45
46class MultiPipelineCallbacks:

Callers

nothing calls this directly

Calls 1

callback_fnMethod · 0.95

Tested by

no test coverage detected