Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ forward
Method
forward
tests/unit/runtime/pipe/test_pipe.py:209–212 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
207
self.shapes = set()
208
209
def
forward(self, x):
210
self.shapes.add(x.shape)
211
y = self.fc(x)
212
return
y
213
214
215
class
DynamicShapeTestModel(nn.Module):
Callers
nothing calls this directly
Calls
1
add
Method · 0.45
Tested by
no test coverage detected