MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / set_model

Method set_model

tensorflow/python/keras/callbacks.py:216–219  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

214 callback.set_params(params)
215
216 def set_model(self, model):
217 self.model = model
218 for callback in self.callbacks:
219 callback.set_model(model)
220
221 def _call_batch_hook(self, mode, hook, batch, logs=None):
222 """Helper function for all batch_{begin | end} methods."""

Callers 1

configure_callbacksFunction · 0.95

Calls 1

set_modelMethod · 0.45

Tested by

no test coverage detected