mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-06 09:17:11 +08:00
[jit] small cleanups after script:: removal (#34677)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/34677 1. Remove remaining uses of `script::` namespace from the codebase, 2. Add one more typedef for `script::ExtraFilesMap` which is part of the public interface. Pull Request resolved: #34580 Test Plan: Imported from OSS Reviewed By: zdevito Differential Revision: D20431739 Pulled By: suo fbshipit-source-id: a29d369c755b6506c53447ca1f286b6339222c9a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e7910aa9e5
commit
af3a7e2b50
@ -219,7 +219,7 @@ void initJITBindings(PyObject* module) {
|
||||
SwapFunctionalLinear(graph);
|
||||
})
|
||||
.def("_jit_pass_swap_functional_linear",
|
||||
[](script::Module& module) {
|
||||
[](Module& module) {
|
||||
SwapFunctionalLinear(module);
|
||||
})
|
||||
.def("_jit_pass_quant_finalize", &Finalize)
|
||||
|
||||
Reference in New Issue
Block a user