MCPcopy Create free account
hub / github.com/BBuf/tvm_mlir_learn / __init__

Method __init__

torchscript/trace.py:6–8  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class MyModule(nn.Module):
6 def __init__(self):
7 super(MyModule,self).__init__()
8 self.conv1 = nn.Conv2d(1,3,3)
9 def forward(self,x):
10 x = self.conv1(x)
11 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected