Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ Net
Class
Net
imperative/python/test/unit/quantization/test_repr.py:6–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
def
test_repr():
6
class
Net(M.Module):
7
def
__init__(self):
8
super().__init__()
9
self.conv_bn = M.ConvBnRelu2d(3, 3, 3)
10
self.linear = M.Linear(3, 3)
11
12
def
forward(self, x):
13
return
x
14
15
net = Net()
16
ground_truth = (
Callers
1
test_repr
Function · 0.70
Calls
no outgoing calls
Tested by
1
test_repr
Function · 0.56