pytorch/torch/csrc/jit
Vitaly Fedyunin 4bfe2f0900 Fix jit outplace tracing and reapply changes to *_like operators. (#28839)
Summary:
Reapply reverted and fix files `gen_variable_type.py` `test_jit.py`

https://github.com/pytorch/pytorch/issues/27891 Cleanup testing of _like operators
https://github.com/pytorch/pytorch/issues/27890 Add memory format support to randn_like operator
https://github.com/pytorch/pytorch/issues/27889 Add memory format support to randint_like operator
https://github.com/pytorch/pytorch/issues/27562 Add memory format support to zeros_like operator
https://github.com/pytorch/pytorch/issues/27561 Add memory format support to rand_like operator
https://github.com/pytorch/pytorch/issues/27270 Add memory format support to ones_like operator
https://github.com/pytorch/pytorch/issues/27262 Add memory format support to full_like operator
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28839

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

buck test mode/dev //language_technology/neural_mt/os/pytorch_translate/test:test_onnx -- 'test_forced_decoder_export_vocab_reduction \(language_technology\.neural_mt\.os\.pytorch_translate\.test\.test_onnx\.TestONNX\)'

Differential Revision: D18203397

Pulled By: VitalyFedyunin

fbshipit-source-id: eea41cbd4c232cf5a54172b1e1b16b173798f298
2019-10-31 13:23:08 -07:00
..
backends
docs Some fixes for jit overview doc (#28112) 2019-10-29 12:08:42 -07:00
fuser Fix jit outplace tracing and reapply changes to *_like operators. (#28839) 2019-10-31 13:23:08 -07:00
mobile Buffer to speed Unpickler (#27727) 2019-10-15 11:32:53 -07:00
passes Fix jit outplace tracing and reapply changes to *_like operators. (#28839) 2019-10-31 13:23:08 -07:00
script flip the "don't inline" switch (#26706) 2019-10-31 13:02:32 -07:00
testing Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
alias_info.h
argument_spec.cpp
argument_spec.h
attributes.cpp
attributes.h
autodiff.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
autodiff.h
catch_utils.hpp
code_template.h Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
constants.cpp
constants.h
custom_operator.h Remove confusing torch::jit::RegisterOperators for custom ops (#28229) 2019-10-18 10:46:31 -07:00
exception_message.h
export.cpp Minor followup on stringstream cleanups (#28300) 2019-10-24 13:05:46 -07:00
export.h clean up exported source format (#28129) 2019-10-16 22:47:24 -07:00
function.cpp Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
function.h
graph_executor.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
graph_executor.h Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
graph_executor_impl.h
graph_node_list.h
hooks_for_testing.cpp
hooks_for_testing.h
import.cpp String opts related to deserialization. (#28263) 2019-10-18 07:36:17 -07:00
import.h
import_export_helpers.cpp
import_export_helpers.h
import_legacy.cpp clean up exported source format (#28129) 2019-10-16 22:47:24 -07:00
import_legacy.h
import_source.cpp Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
import_source.h clean up exported source format (#28129) 2019-10-16 22:47:24 -07:00
init.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
init.h
instruction.cpp
instruction.h
interned_strings_class.h
interpreter.cpp
interpreter.h
ir.cpp Fix jit outplace tracing and reapply changes to *_like operators. (#28839) 2019-10-31 13:23:08 -07:00
ir.h Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
ir_views.h
irparser.cpp Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
irparser.h
jit_log.cpp clean up exported source format (#28129) 2019-10-16 22:47:24 -07:00
jit_log.h
named_value.h
netdef_converter.cpp
netdef_converter.h
node_hashing.cpp Better hashing for constant pool (#27733) 2019-10-11 14:30:13 -07:00
node_hashing.h
operator.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
operator.h Remove unnecessary Node* closures in operator registration 2019-10-15 16:00:38 -07:00
operator_options.cpp
operator_options.h
pass_manager.cpp
pass_manager.h
pickle.cpp Use c10::to_string in more places (#28605) 2019-10-24 15:52:05 -07:00
pickle.h Buffer to speed Unpickler (#27727) 2019-10-15 11:32:53 -07:00
pickler.cpp Improve float pickling speed. (#28553) 2019-10-25 08:14:07 -07:00
pickler.h Fix UNICODE conflict on Windows (#28782) 2019-10-30 14:09:31 -07:00
print_handler.cpp
print_handler.h
profiling_graph_executor_impl.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
profiling_graph_executor_impl.h
profiling_record.cpp
profiling_record.h
pybind.h Allow 'Any' to appear as a type argument. (#26572) 2019-10-16 11:07:08 -07:00
pybind_utils.h Allow 'Any' to appear as a type argument. (#26572) 2019-10-16 11:07:08 -07:00
python_arg_flatten.cpp
python_arg_flatten.h
python_interpreter.cpp
python_ir.cpp Allow 'Any' to appear as a type argument. (#26572) 2019-10-16 11:07:08 -07:00
python_ir.h
python_tracer.cpp Abstract tracer::enter and tracer::exit into a function 2019-10-26 18:41:14 -07:00
python_tracer.h Abstract tracer::enter and tracer::exit into a function 2019-10-26 18:41:14 -07:00
register_c10_ops.cpp Delete ATenDispatch (#28468) 2019-10-24 22:15:00 -07:00
register_prim_ops.cpp Switching tests to ProfilingExecutor (rebased) 2019-10-29 11:41:42 -07:00
register_special_ops.cpp Fix aten::format regex for clang8 (#28916) 2019-10-30 16:14:46 -07:00
register_string_ops.cpp msvc error C4805 fix (#28156) 2019-10-25 09:24:25 -07:00
resource_guard.h
scope.cpp
scope.h
source_range.cpp
source_range.h
source_range_serialization.cpp
source_range_serialization.h
source_range_serialization_impl.h
subgraph_matcher.cpp
subgraph_matcher.h
symbolic_script.cpp Fix jit outplace tracing and reapply changes to *_like operators. (#28839) 2019-10-31 13:23:08 -07:00
symbolic_script.h
tracer.cpp Abstract tracer::enter and tracer::exit into a function 2019-10-26 18:41:14 -07:00
tracer.h Abstract tracer::enter and tracer::exit into a function 2019-10-26 18:41:14 -07:00
unpickler.cpp String opts related to deserialization. (#28263) 2019-10-18 07:36:17 -07:00
unpickler.h Remove attempToRecoverType (#26767) 2019-10-16 11:07:13 -07:00
update_graph_executor_opt.cpp
update_graph_executor_opt.h
variable_tensor_list.h