Calls all the callbacks in order with the given arguments and returns the final callback_kwargs.
(self, pipeline, step_index, timestep, callback_kwargs)
| 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 | |
| 69 | class SDCFGCutoffCallback(PipelineCallback): |
nothing calls this directly
no test coverage detected