MCPcopy Index your code
hub / github.com/huggingface/diffusers / __call__

Method __call__

src/diffusers/pipelines/onnx_utils.py:59–61  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

57 self.latest_model_name = kwargs.get("latest_model_name", ONNX_WEIGHTS_NAME)
58
59 def __call__(self, **kwargs):
60 inputs = {k: np.array(v) for k, v in kwargs.items()}
61 return self.model.run(None, inputs)
62
63 @staticmethod
64 def load_model(path: str | Path, provider=None, sess_options=None, provider_options=None):

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected