mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-02 06:24:59 +08:00
jit: Conv3d + BatchNorm3d fusion (#40082)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40082 Differential Revision: D22120340 Pulled By: jerryzh168 fbshipit-source-id: fce6c5f03fe7ab6c60620cbdf547d5a466a470e3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
14f7e95c1a
commit
87c5f02f3d
@ -230,7 +230,7 @@ void initJITBindings(PyObject* module) {
|
||||
.def(
|
||||
"_jit_pass_quant_fusion",
|
||||
[](std::shared_ptr<Graph>& g) { return QuantFusion(g); })
|
||||
.def("_jit_pass_fold_convbn", &FoldConvBatchNorm2d)
|
||||
.def("_jit_pass_fold_convbn", &FoldConvBatchNorm)
|
||||
.def(
|
||||
"_freeze_module",
|
||||
[](Module& module, std::vector<std::string>& preservedAttrs) {
|
||||
|
||||
Reference in New Issue
Block a user