Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ FloatExample
Class
FloatExample
imperative/python/test/unit/quantization/test_quantize.py:287–289 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
285
286
def
test_convert_with_custom_mapping():
287
class
FloatExample(Float.Module):
288
def
forward(self, x):
289
return
x
290
291
class
QATExample(QAT.QATModule):
292
def
forward(self, x):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
1
__init__
Method · 0.68