Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ _Block
Class
_Block
tests/unit/utils/test_debug_name_maps.py:28–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
27
28
class
_Block(nn.Module):
29
30
def
__init__(self, dim=8):
31
super().__init__()
32
self.lin = nn.Linear(dim, dim, bias=False)
33
34
35
class
_Model(nn.Module):
Callers
1
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
1
__init__
Method · 0.56