MCPcopy Create free account
hub / github.com/onnxsim/onnxsim / __init__

Method __init__

tests/test_python_api.py:58–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56def test_exprimental_simplify_subgraph():
57 class WithSubGraph(torch.nn.Module):
58 def __init__(self):
59 super(WithSubGraph, self).__init__()
60
61 def forward(self, x):
62 if x.sum() > 1.0:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected