Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/AiOS
/ _get_clones
Function
_get_clones
detrsmpl/core/post_processing/speed_up/deciwatch.py:687–688 ·
view source on GitHub ↗
(module, N)
Source
from the content-addressed store, hash-verified
685
686
687
def
_get_clones(module, N):
688
return
nn.ModuleList([copy.deepcopy(module)
for
i in range(N)])
689
690
691
def
build_model(args):
Callers
3
__init__
Method · 0.70
__init__
Method · 0.70
_init_layers
Method · 0.50
Calls
1
deepcopy
Method · 0.80
Tested by
no test coverage detected