pytorch/test/onnx
Nathan Goldbaum 9d3402e4cb Add the __torch_function__ API override mechanism (#30730)
Summary:
This is a re-do of https://github.com/pytorch/pytorch/issues/27064, which was reverted (b8792c0438). This was landed at the same time as other work that added new operators to the `torch` namespace so the check for whether the `torch` namespace is exhaustively checked for overridability was triggering test failures.

I've temporarily disabled that check and added an explanatory comment that the check will be re-enabled in a future PR that will be merged during a time when the commit velocity on PyTorch is lower.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30730

Differential Revision: D18813270

Pulled By: ezyang

fbshipit-source-id: 70477c4656dca8fea6e7bc59259555041fcfbf68
2019-12-04 13:19:07 -08:00
..
expect Add the __torch_function__ API override mechanism (#30730) 2019-12-04 13:19:07 -08:00
model_defs Ignore F401 in all __init__.py without putting noqa (#25823) 2019-10-23 15:28:13 -07:00
debug_embed_params.py Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
export_onnx_tests_filter.py Resolve unused variables in tests (#24075) 2019-08-14 21:02:52 -07:00
export_onnx_tests_generator.py Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
pytorch_helper.py
test_caffe2_common.py
test_custom_ops.py Remove confusing torch::jit::RegisterOperators for custom ops (#28229) 2019-10-18 10:46:31 -07:00
test_models_onnxruntime.py PyTorch export to ONNX Opset 7 and 8 - Cont (#22421) 2019-07-12 14:52:48 -07:00
test_models.py Abstract tracer::enter and tracer::exit into a function 2019-10-26 18:41:14 -07:00
test_onnx_common.py
test_onnx_opset.py Enable constant folding (#29834) 2019-11-27 08:34:20 -08:00
test_operators.py Support Exporting Bitshift to ONNX (#28210) 2019-11-19 09:25:50 -08:00
test_pytorch_common.py added opset10 ORT tests (#22993) 2019-08-02 17:34:48 -07:00
test_pytorch_helper.py Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
test_pytorch_onnx_caffe2_quantized.py Add support for quantized slice conversion (#30498) 2019-12-03 14:37:59 -08:00
test_pytorch_onnx_caffe2.py Support logsoftmax with dim != -1 (#30433) 2019-11-27 08:34:38 -08:00
test_pytorch_onnx_onnxruntime.py Add ONNX Scripting Conv Support (#30618) 2019-12-03 10:28:38 -08:00
test_utility_funs.py Revert "Revert D18171156: Merge Tensor and Variable." (#29299) 2019-11-08 09:11:20 -08:00
test_verify.py Enable constant folding (#29834) 2019-11-27 08:34:20 -08:00
verify.py Enable constant folding (#29834) 2019-11-27 08:34:20 -08:00