Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lucas-maes/le-wm
/ detach_clone
Function
detach_clone
jepa.py:8–9 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
6
from
torch
import
nn
7
8
def
detach_clone(v):
9
return
v.detach().clone()
if
torch.is_tensor(v)
else
v
10
11
class
JEPA(nn.Module):
12
Callers
1
rollout
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected