MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / get_grads

Method get_grads

tests/unit/modeling.py:418–419  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

416 self.graph = []
417
418 def get_grads(self):
419 return self.grads
420
421 def get_modules(self, big_node, input):
422 for mdl in big_node.named_children():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected