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

Method apply_gradients

tensorflow/python/keras/optimizers.py:724–725  ·  view source on GitHub ↗
(self, grads)

Source from the content-addressed store, hash-verified

722 self._track_trackable(self.iterations, name='global_step')
723
724 def apply_gradients(self, grads):
725 self.optimizer.apply_gradients(grads, global_step=self.iterations)
726
727 def get_grads(self, loss, params):
728 return self.optimizer.compute_gradients(loss, params)

Callers 2

train_stepFunction · 0.45
get_updatesMethod · 0.45

Calls

no outgoing calls

Tested by 1

train_stepFunction · 0.36