Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BBuf/tvm_mlir_learn
/ forward
Method
forward
torchscript/loop_script_onnx.py:11–12 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
9
10
class
LoopModel2(torch.nn.Module):
11
def
forward(self, x, y):
12
return
loop(x, y)
13
14
model = LoopModel2()
15
dummy_input = torch.ones(2, 3, dtype=torch.long)
Callers
nothing calls this directly
Calls
1
loop
Function · 0.85
Tested by
no test coverage detected