Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ testBnToConv.py
File
testBnToConv.py
tests/testBnToConv.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
3
from
ppq
import
BaseGraph, TorchExecutor
4
from
ppq.IR
import
GraphFormatter, GraphMerger, GraphReplacer
Callers
nothing calls this directly
Calls
10
BaseGraph
Class · 0.90
TorchExecutor
Class · 0.90
GraphReplacer
Class · 0.90
create_operation
Method · 0.80
create_variable
Method · 0.80
mark_variable_as_graph_input
Method · 0.80
mark_variable_as_graph_output
Method · 0.80
replace_batchnorm_to_scale
Method · 0.80
replace_batchnorm_to_conv
Method · 0.80
forward
Method · 0.45
Tested by
no test coverage detected