pytorch/torch/csrc/jit/python
goldenxuett c9497886fd [JIT] Modify is_mutable in FunctionSchema and SchemaInfo to have SchemaArgument parameter instead of index (#81784)
- Modify the is_mutable(size_t index) overload to become is_mutable(const SchemaArgument& argument) due to cases where one might want to check the mutability of either input or output arguments.
- Refactored all calls to the function to use this new overload
- Tested through is_mutable() tests in test_schema_info.cpp
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81784
Approved by: https://github.com/davidberard98
2022-07-20 22:09:56 +00:00
..
init.cpp [JIT] Modify is_mutable in FunctionSchema and SchemaInfo to have SchemaArgument parameter instead of index (#81784) 2022-07-20 22:09:56 +00:00
init.h
module_python.h
pybind_utils.cpp Add support for Generator conversion to/from IValue (#81697) 2022-07-19 16:50:10 +00:00
pybind_utils.h Add support for Generator conversion to/from IValue (#81697) 2022-07-19 16:50:10 +00:00
pybind.h
python_arg_flatten.cpp [ONNX] Support optional type (#68793) (#73284) 2022-05-04 20:24:30 +00:00
python_arg_flatten.h
python_custom_class.cpp
python_custom_class.h
python_dict.cpp
python_dict.h
python_interpreter.cpp
python_ir.cpp canonicalize includes of form <aten/src/ATen/...> 2022-06-16 17:46:45 +00:00
python_ir.h
python_ivalue.h
python_list.cpp
python_list.h
python_sugared_value.cpp turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
python_sugared_value.h [JIT] Support for ParameterDict getattr 2022-05-13 01:03:25 +00:00
python_tracer.cpp
python_tracer.h
python_tree_views.cpp
python_tree_views.h
script_init.cpp Expose _export_data from C++ to Python (#79207) 2022-06-10 00:41:33 +00:00
script_init.h
update_graph_executor_opt.cpp
update_graph_executor_opt.h