pytorch/torch/csrc/jit/script
David Riazati 28079c3906 Make ScriptModule.training an attribute instead of a parameter (#19587)
Summary:
Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#19587 [jit] Make ScriptModule.training an attribute instead of a parameter**

Remove the hack we had previously where `training` was a buffer
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19587

Differential Revision: D15502768

Pulled By: driazati

fbshipit-source-id: 3022f2d57ec6849868f9225d9bc2bfb7828cb318
2019-05-28 16:06:46 -07:00
..
builtin_functions.cpp Cleanup includes in torch/csrc/* (#19924) 2019-05-06 14:03:18 -07:00
builtin_functions.h First class modules in the compiler, round 2 (#19167) 2019-04-11 13:55:48 -07:00
class_type.cpp @torch.jit.script(fn) now is a torch.jit.Function (#19721) 2019-04-25 15:53:00 -07:00
compilation_unit.h Replace AT_CHECK with TORCH_CHECK [shard 10/10] 2019-05-15 07:35:37 -07:00
compiler.cpp make magic methods work with casts too (#20654) 2019-05-21 14:23:06 -07:00
compiler.h Turn resolver into a class (#19236) 2019-04-19 13:01:59 -07:00
edit_distance.cpp Print out operator suggestions for unknown builtin op (#15183) 2019-01-04 13:04:44 -08:00
edit_distance.h Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
error_report.h Remove SourceLocation (respin) (#20333) 2019-05-09 16:17:33 -07:00
final_returns.cpp Use SmallVector to allocate Compound operands inline. (#20762) 2019-05-21 16:37:52 -07:00
final_returns.h clang format world (#15524) 2018-12-26 06:55:01 -08:00
function_schema_parser.cpp Memory format support for contiguous and is_contiguous (#20455) 2019-05-16 07:18:24 -07:00
function_schema_parser.h Allow registering ops without specifying the full schema (#19286) 2019-04-18 02:04:46 -07:00
init.cpp Make ScriptModule.training an attribute instead of a parameter (#19587) 2019-05-28 16:06:46 -07:00
init.h Canonicalize all includes in PyTorch. (#14849) 2018-12-08 19:38:30 -08:00
jit_exception.cpp C++ changes toward libtorch and libcaffe2 unification (#19554) 2019-04-26 01:38:10 -07:00
jit_exception.h C++ changes toward libtorch and libcaffe2 unification (#19554) 2019-04-26 01:38:10 -07:00
lexer.cpp Move function schema parser to ATen/core build target (#19282) 2019-04-18 01:03:37 -07:00
lexer.h Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
logging.cpp C++ changes toward libtorch and libcaffe2 unification (#19554) 2019-04-26 01:38:10 -07:00
logging.h Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
module_python.h Extract Python-specific SugaredValues to a separate file from init.cpp. (#19986) 2019-04-30 19:38:23 -07:00
module.cpp Make ScriptModule.training an attribute instead of a parameter (#19587) 2019-05-28 16:06:46 -07:00
module.h Make ScriptModule.training an attribute instead of a parameter (#19587) 2019-05-28 16:06:46 -07:00
parse_string_literal.h clang format world (#15524) 2018-12-26 06:55:01 -08:00
parser.cpp fix parsing bugs (#20246) 2019-05-07 19:35:51 -07:00
parser.h Attribute serialization (#17423) 2019-03-18 18:18:22 -07:00
python_sugared_value.cpp Make ScriptModule.training an attribute instead of a parameter (#19587) 2019-05-28 16:06:46 -07:00
python_sugared_value.h Add _enable_recursive_script to try to script all Python functions (#19578) 2019-05-17 14:50:45 -07:00
python_tree_views.cpp Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
python_tree_views.h clang format world (#15524) 2018-12-26 06:55:01 -08:00
resolver.h Namespace isolation for classes (#19903) 2019-05-07 22:48:31 -07:00
schema_matching.cpp Refactor schema_matching.cpp (#20549) 2019-05-28 10:55:09 -07:00
schema_matching.h Index into a tuple with non constant integer (#20081) 2019-05-06 14:23:16 -07:00
schema_type_parser.cpp Mark values entering containers as wildcards (#20556) 2019-05-22 16:50:06 -07:00
schema_type_parser.h Move function schema parser to ATen/core build target (#19282) 2019-04-18 01:03:37 -07:00
script_type_parser.cpp Misc error message improvements (#19369) 2019-05-17 15:30:58 -07:00
script_type_parser.h Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
slot.h First class modules in the compiler, round 2 (#19167) 2019-04-11 13:55:48 -07:00
strtod.cpp Fix strtod for MSVC (#20490) 2019-05-15 07:40:44 -07:00
strtod.h Fixing function schema parser for Android (#19281) 2019-04-17 23:50:17 -07:00
sugared_value.cpp Use python type string for user facing error msgs (#20657) 2019-05-17 15:04:53 -07:00
sugared_value.h make magic methods work with casts too (#20654) 2019-05-21 14:23:06 -07:00
tree_views.h Cleanup includes in torch/csrc/jit/script/* (#19921) 2019-05-06 13:24:22 -07:00
tree.h Use SmallVector to allocate Compound operands inline. (#20762) 2019-05-21 16:37:52 -07:00