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

Method get_type

deepspeed/runtime/engine.py:3458–3459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3456 return self._get_optimizer_param("lr")
3457
3458 def get_type(self):
3459 return self._get_optimizer_param("type")
3460
3461 def get_mom(self):
3462 if self.optimizer_name() in ["SGD", "RMSprop"]:

Callers

nothing calls this directly

Calls 1

_get_optimizer_paramMethod · 0.95

Tested by

no test coverage detected