MCPcopy Index your code
hub / github.com/deepspeedai/DeepSpeed / __init__

Method __init__

tests/unit/simple_model.py:258–259  ·  view source on GitHub ↗
(self, hidden_dim, empty_grad=False)

Source from the content-addressed store, hash-verified

256class PLD_SimpleModel(SimpleModel):
257
258 def __init__(self, hidden_dim, empty_grad=False):
259 super(PLD_SimpleModel, self).__init__(hidden_dim, empty_grad)
260
261 def forward(self, x, y, **kwargs):
262 pld = kwargs.get('progressive_layer_drop', False)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected