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

Method __call__

diffusers/src/diffusers/callbacks.py:59–66  ·  view source on GitHub ↗

Calls all the callbacks in order with the given arguments and returns the final callback_kwargs.

(self, pipeline, step_index, timestep, callback_kwargs)

Source from the content-addressed store, hash-verified

57 return [input for callback in self.callbacks for input in callback.tensor_inputs]
58
59 def __call__(self, pipeline, step_index, timestep, callback_kwargs) -> Dict[str, Any]:
60 """
61 Calls all the callbacks in order with the given arguments and returns the final callback_kwargs.
62 """
63 for callback in self.callbacks:
64 callback_kwargs = callback(pipeline, step_index, timestep, callback_kwargs)
65
66 return callback_kwargs
67
68
69class SDCFGCutoffCallback(PipelineCallback):

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected