Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/AiOS
/ _get_clones
Function
_get_clones
models/aios/transformer_deformable.py:182–183 ·
view source on GitHub ↗
(module, N)
Source
from the content-addressed store, hash-verified
180
181
182
def
_get_clones(module, N):
183
return
nn.ModuleList([copy.deepcopy(module)
for
i in range(N)])
Callers
nothing calls this directly
Calls
1
deepcopy
Method · 0.80
Tested by
no test coverage detected