MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _call

Method _call

python/paddle/hapi/callbacks.py:120–123  ·  view source on GitHub ↗
(self, name: str, *args: Any)

Source from the content-addressed store, hash-verified

118 c.set_model(model)
119
120 def _call(self, name: str, *args: Any) -> None:
121 for c in self.callbacks:
122 func = getattr(c, name)
123 func(*args)
124
125 def _check_mode(self, mode: _CallbackMode) -> None:
126 assert mode in [

Callers 6

on_beginMethod · 0.95
on_endMethod · 0.95
on_epoch_beginMethod · 0.95
on_epoch_endMethod · 0.95
on_batch_beginMethod · 0.95
on_batch_endMethod · 0.95

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected