pytorch/test/cpp
goldenxuett b4e342928b [JIT] Add mutability checks in FunctionSchema and create SchemaInfo subclass (#80734)
- Added overloads to is_mutable method in FunctionSchema to tell whether an argument at index is mutable or an argument with name is mutable.
- Created SchemaInfo subclass of FunctionSchema with constructors from FunctionSchema and from const char* signature.
- Tested is_mutable method overloads in new test_schema_info.cpp file.

**Note that this pr is used to set up SchemaInfo. Implementation for SchemaInfo will be addressed in later commits**

Differential Revision: [D37651384](https://our.internmc.facebook.com/intern/diff/D37651384)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/80734
Approved by: https://github.com/davidberard98
2022-07-11 19:13:06 +00:00
..
api Fix retains grad behavior after in-place (#79996) 2022-07-08 19:13:28 +00:00
c10d Build example_allreduce only for GLOO (#81062) 2022-07-08 02:25:54 +00:00
common
dist_autograd
jit [JIT] Add mutability checks in FunctionSchema and create SchemaInfo subclass (#80734) 2022-07-11 19:13:06 +00:00
lazy reinstate size and shape returning symints (#79560) 2022-07-08 01:17:33 +00:00
lite_interpreter_runtime Back out "[profiling] Adding targets file for test_mobile_profiler" (#80789) 2022-07-05 23:34:15 +00:00
monitor
profiler
rpc
tensorexpr [BE] Use CamelCase for enum class members (#79772) 2022-06-17 05:53:57 +00:00
__init__.py