提交记录/
[jit][subgraph_rewriter] Support list of filters (#39867)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39867 Support list of filters in subgraph rewriter, the rewrite will execute only when the match passes all filter check. this is useful for different matches to share the same filter. Test Plan: Imported from OSS Differential Revision: D22009855 fbshipit-source-id: 67aab8d6326b2011a9061397699dc62ee9ad4e2d
共 6 个文件变更+97-85
Mtest/cpp/jit/test_subgraph_rewriter.cpp+39-6
Mtorch/csrc/jit/passes/quantization/finalize.cpp+1-1
Mtorch/csrc/jit/passes/quantization/helper.h+1-1
Mtorch/csrc/jit/passes/quantization/quantization_patterns.h+35-57
Mtorch/csrc/jit/passes/subgraph_rewrite.cpp+6-8
Mtorch/csrc/jit/passes/subgraph_rewrite.h+15-12
文件内容审核中,请稍后刷新重试

评论