[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:
Michael Suo
2020-03-13 17:50:57 -07:00
committed by Facebook GitHub Bot
parent e7910aa9e5
commit af3a7e2b50
4 changed files with 6 additions and 5 deletions

View File

@ -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)