mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-22 14:15:01 +08:00
Revert D33595240: [JIT] Opinfo tests for nnc fusion
Test Plan: revert-hammer Differential Revision: D33595240 (0b57bd4c66
) Original commit changeset: e2e17a921bc3 Original Phabricator Diff: D33595240 (0b57bd4c66
) fbshipit-source-id: 172a3ffd19d180b1b3617956b1f881be62f37bc9 (cherry picked from commit 324cfaea863aafa36a825c066a0b115bbc138890)
This commit is contained in:
committed by
PyTorch MergeBot
parent
58f25678bd
commit
bb101ec78d
@ -1395,12 +1395,7 @@ void initJitScriptBindings(PyObject* module) {
|
||||
.def(
|
||||
"get_class",
|
||||
[](const std::shared_ptr<CompilationUnit>& self,
|
||||
const std::string& name) { return self->get_class(name); })
|
||||
.def(
|
||||
"drop_all_functions",
|
||||
[](const std::shared_ptr<CompilationUnit>& self) {
|
||||
self->drop_all_functions();
|
||||
});
|
||||
const std::string& name) { return self->get_class(name); });
|
||||
|
||||
py::class_<StrongFunctionPtr>(m, "ScriptFunction", py::dynamic_attr())
|
||||
.def(
|
||||
|
Reference in New Issue
Block a user