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

Method get_type

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

Source from the content-addressed store, hash-verified

3862 return self._get_optimizer_param("lr")
3863
3864 def get_type(self):
3865 return self._get_optimizer_param("type")
3866
3867 def get_mom(self):
3868 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