pytorch/test
anjali411 efbd6b8533 [C++ API Parity] [Optimizers] Merged Optimizer and LossClosureOptimizer (#34957)
Summary:
1. Removed LossClosureOptimizer, and merged Optimizer into OptimizerBase (and renamed the merged class to Optimizer)
2. Merged the LBFGS-specific serialize test function and the generic test_serialize_optimizer function.
3. BC-compatibility serialization test for LBFGS
4. Removed mentions of parameters_ in optimizer.cpp, de-virtualize all functions
5. Made defaults_ optional argument in all optimizers except SGD

**TODO**: add BC-breaking notes for this PR

Pull Request resolved: https://github.com/pytorch/pytorch/pull/34957

Differential Revision: D20645945

Pulled By: yf225

fbshipit-source-id: 383588065bf1859b38f0ad0a25d93d41e153c96e
2020-03-25 18:26:02 -07:00
..
backward_compatibility Use JIT op registration directly for lite interpreter. (#34070) 2020-03-25 07:21:51 -07:00
bottleneck_test fix possible pandas import error during tensorboard tests (#29650) 2020-02-04 14:27:46 -08:00
cpp [C++ API Parity] [Optimizers] Merged Optimizer and LossClosureOptimizer (#34957) 2020-03-25 18:26:02 -07:00
cpp_api_parity [C++ API] RNN / GRU / LSTM layer refactoring (#34322) 2020-03-15 17:48:29 -07:00
cpp_extensions pybind11 type_caster for at::Generator and custom RNG python test (#34774) 2020-03-22 10:57:35 -07:00
custom_operator [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
distributed [RELAND2] Eager autocasting, out-of-place ops only (with MSVC 2017 fix) (#35102) 2020-03-24 09:08:04 -07:00
error_messages
expect
jit [JIT] [Reland] add complexity tests (#35330) 2020-03-25 14:22:52 -07:00
mobile [pytorch] deprecate code analyzer -closure option (#35179) 2020-03-22 14:36:42 -07:00
onnx Enable Constant Folding for ONNX Opset 12 (#34823) 2020-03-25 11:06:39 -07:00
optim
scripts
type_hint_tests Support for Tensor Shape Type Hint (#34595) 2020-03-13 15:16:24 -07:00
HowToWriteTestsUsingFileCheck.md
run_test.py [1.5 Release][RPC Reliability] RRef Idempotency and RPC Retry enablement (#33636) 2020-03-20 20:07:47 -07:00
simulate_nccl_errors.py
te_utils.py [TensorExpr] Pull changes from bertmaher/pytorch_fusion. (#34842) 2020-03-17 11:02:48 -07:00
test_autograd.py [Autograd Testing] Test failure in parent graph before child reentrant task (#35268) 2020-03-25 17:53:45 -07:00
test_complex.py test_complex inherits from common_utils.TestCase; closes #34648 (#34697) 2020-03-23 10:49:30 -07:00
test_cpp_api_parity.py [jit] kill script namespace (#34515) 2020-03-11 23:32:48 -07:00
test_cpp_extensions_aot.py pybind11 type_caster for at::Generator and custom RNG python test (#34774) 2020-03-22 10:57:35 -07:00
test_cpp_extensions_jit.py Add pybind11 exception translator (#30588) 2020-02-18 11:33:29 -08:00
test_cuda.py [RELAND2] Eager autocasting, out-of-place ops only (with MSVC 2017 fix) (#35102) 2020-03-24 09:08:04 -07:00
test_cuda_primary_ctx.py
test_dataloader.py Fix all occurrences of C416. (#33429) 2020-02-21 08:32:22 -08:00
test_determination.py [pytorch_ci] Python target determinator (#33577) 2020-03-03 18:01:12 -08:00
test_distributions.py Continuous bernoulli distribution (take 2) (#34619) 2020-03-12 11:53:18 -07:00
test_docs_coverage.py [doc] Add grad context manager doc to toplevel torch module. (#33877) 2020-03-02 06:32:36 -08:00
test_expecttest.py
test_fake_quant.py Per channel quantization performance improvement (#33772) 2020-02-26 10:19:25 -08:00
test_function_schema.py
test_indexing.py Fix index_put when tensor length > int_max (#33753) 2020-03-01 21:51:23 -08:00
test_jit.py Enable NNC tests vol. i. add test_tensorexpr.py tests [WIP] (#34897) 2020-03-25 17:23:48 -07:00
test_jit_disabled.py
test_jit_fuser.py Fix warnings in test/test_jit_fuser.py (#34980) 2020-03-18 19:55:25 -07:00
test_jit_fuser_legacy.py
test_jit_fuser_te.py [TensorExpr] Disable fuser-te cuda tests when run on ROCm. (#35388) 2020-03-25 16:04:15 -07:00
test_jit_legacy.py
test_jit_py3.py [jit] Include call stack in OSError message (#34669) 2020-03-18 15:10:23 -07:00
test_jit_simple.py
test_jit_string.py
test_logging.py
test_mkldnn.py Fix MKLDNN conv2d 5d weight handling (#34115) 2020-03-04 11:26:38 -08:00
test_multiprocessing.py Better handing of Autograd+Fork errors. (#33885) 2020-02-27 16:07:29 -08:00
test_multiprocessing_spawn.py
test_namedtensor.py Adds true_divide function, analogous to Python 's, JAX's, NumPy's (true) division (#34236) 2020-03-09 21:06:33 -07:00
test_namedtuple_return_api.py
test_nn.py Move NewModuleTest and NewCriterionTest from test_nn.py to common_nn.py (#35189) 2020-03-24 14:05:45 -07:00
test_numba_integration.py
test_optim.py Turn on exact_dtype by default on test_optim.py (#34825) 2020-03-17 14:41:13 -07:00
test_overrides.py Add types argument to __torch_function__ (#34303) 2020-03-17 13:32:00 -07:00
test_qat.py
test_quantization.py [quant][graph] Add a new observer type for dynamic quantization (#35265) 2020-03-25 16:50:05 -07:00
test_quantize_script.py [quant][graph] Update dynamic quant tests to use new qconfig (#35325) 2020-03-25 16:52:17 -07:00
test_quantized.py quantized Conv1d (#35093) 2020-03-24 19:22:03 -07:00
test_quantized_models.py
test_quantized_nn_mods.py Add the quantized batch_norm3d and also batch_norm3d fused with relu operators (#34702) 2020-03-13 20:30:28 -07:00
test_quantized_tensor.py [quant][graph] Add _choose_qparams function for graph mode (#35235) 2020-03-25 10:33:21 -07:00
test_serialization.py Avoid problematic pickle usages on Python 3.8.0 and 3.8.1 (#33824) 2020-02-26 21:15:38 -08:00
test_sparse.py Extends true_divide to be a method (#34794) 2020-03-23 23:12:23 -07:00
test_tensorboard.py
test_tensorexpr.py [TensorExpr] Pull changes from bertmaher/pytorch_fusion. (#34842) 2020-03-17 11:02:48 -07:00
test_throughput_benchmark.py
test_torch.py Fix handling of non-finite values in topk (#35253) 2020-03-25 13:29:45 -07:00
test_type_hints.py Support for Tensor Shape Type Hint (#34595) 2020-03-13 15:16:24 -07:00
test_type_info.py
test_type_promotion.py Added type promotion logic for complex numbers (#34093) 2020-03-25 09:12:21 -07:00
test_utils.py Add retry decorator and use it for Hub tests. (#34829) 2020-03-16 20:19:45 -07:00
test_xnnpack_integration.py Changes to transition to generic API for ops with weight prepacking (#35010) 2020-03-22 08:31:53 -07:00