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

Method get_type

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

Source from the content-addressed store, hash-verified

3247 return self._get_optimizer_param("lr")
3248
3249 def get_type(self):
3250 return self._get_optimizer_param("type")
3251
3252 def get_mom(self):
3253 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