pytorch/torch/csrc/jit/python
Bram Wasti 43a9d6fb6e [TorchScript] Support user defined classes as constants (#5062)
Summary:
Pull Request resolved: https://github.com/pytorch/glow/pull/5062

Pull Request resolved: https://github.com/pytorch/pytorch/pull/45556

User defined classes can be used as constants.  This is useful when freezing and removing the module from the graph.

Test Plan: waitforsadcastle

Reviewed By: eellison

Differential Revision: D23994974

fbshipit-source-id: 5b4a5c91158aa7f22df39d71f2658afce1d29317
2020-11-16 20:52:02 -08:00
..
init.cpp [TorchScript] Support user defined classes as constants (#5062) 2020-11-16 20:52:02 -08:00
init.h
module_python.h
pybind_utils.h [JIT] Dont use specialized tensor type (#46130) 2020-11-13 18:34:40 -08:00
pybind.h
python_arg_flatten.cpp [ONNX] Enable NoneType inputs to export API (#45792) 2020-10-29 13:56:52 -07:00
python_arg_flatten.h Move torch/csrc/utils/hash.h to c10/util/hash.h. (#42503) 2020-08-29 17:47:00 -07:00
python_custom_class.cpp Support doc_string for TorchBind custom classes (#46576) 2020-10-24 12:51:35 -07:00
python_custom_class.h
python_interpreter.cpp Unify boxed function signature between jit and c10 (#37034) 2020-06-29 19:24:26 -07:00
python_ir.cpp Add inputsSize to Python IR, like outputsSize (#46779) 2020-10-28 11:35:39 -07:00
python_ir.h
python_ivalue.h Explicitly decref py::object in ConcretePyObjectHolder and PythonFunctionGuard (#38364) 2020-05-12 20:55:53 -07:00
python_sugared_value.cpp [JIT] Print out interface mismatch for prim::ModuleDictIndex (#47300) 2020-11-03 13:07:21 -08:00
python_sugared_value.h [JIT] Enable ModuleDict non-literal indexing (#45716) 2020-10-31 21:36:23 -07:00
python_tracer.cpp Source code level attribution in profiler (#43898) 2020-09-30 00:57:35 -07:00
python_tracer.h Source code level attribution in profiler (#43898) 2020-09-30 00:57:35 -07:00
python_tree_views.cpp [JIT] Add property support for ScriptModules (#42390) 2020-09-14 18:49:21 -07:00
python_tree_views.h
script_init.cpp [reland] make intrusive_ptr as a pybind holder type (#47586) 2020-11-10 10:09:08 -08:00
script_init.h
update_graph_executor_opt.cpp
update_graph_executor_opt.h