pytorch/test
Brian Vaughan a376dd344c Added check for torch.where on CPU that both arguments have same dtype (#30662)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30662

Cherry picked from: https://github.com/pytorch/pytorch/pull/29081

Test Plan: Imported from OSS

Differential Revision: D18782295

Pulled By: nairbv

fbshipit-source-id: 897ab25ddf8819ca34f5e86c5d3f41debb56cb04

Co-authored-by: ifedan
2019-12-03 15:19:52 -08:00
..
backward_compatibility Ignore logical_and and logical_or in op BC check for now (#30537) 2019-11-27 16:59:37 -08:00
bottleneck
cpp Exclude undefined tensors in the result of Module::parameters() / named_paramters() / buffers() / named_buffers() (#30626) 2019-12-02 21:59:58 -08:00
cpp_api_parity C++ parity, convert_parameters (#29267) 2019-11-20 19:59:11 -08:00
cpp_extensions More checks on MSVC (#29709) 2019-11-13 00:15:40 -08:00
custom_operator Back out "Revert D17908478: Switch PyTorch/Caffe2 to C++14" 2019-12-03 14:33:43 -08:00
data Makes test_cuda.py's generated tensor op tests generic (#27210) 2019-10-04 02:40:59 -07:00
error_messages
expect Changes to get inlined graph and proper names after JIT updates (#30244) 2019-11-21 16:59:28 -08:00
jit Serialize ClassType as its qualname 2019-11-20 16:17:26 -08:00
mobile/op_deps add test/mobile/op_deps project for dependency analysis test (#29716) 2019-11-14 20:41:38 -08:00
onnx Add support for quantized slice conversion (#30498) 2019-12-03 14:37:59 -08:00
optim
scripts Add scripts to run cuda-memcheck (#28127) 2019-10-29 12:05:29 -07:00
test_module
common_cuda.py
common_device_type.py add wrapper to exclude XLA when running device tests 2019-11-22 13:04:59 -08:00
common_distributed.py Enable mgpu unit tests for rocm 2019-10-11 14:35:36 -07:00
common_methods_invocations.py Fix nuclear norm with requires_grad=True (#26303) 2019-09-26 12:08:25 -07:00
common_nn.py Disables TestNN.test_CTCLoss_1d_target (#29841) 2019-11-15 22:03:04 -08:00
common_quantization.py Add e2e test for conv+bn (#27348) 2019-11-01 11:28:47 -07:00
common_quantized.py Unify quantized conv and linear tests (#26992) 2019-10-01 14:07:16 -07:00
common_utils.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
dist_autograd_test.py Enable test_trainer_ps in dist_autograd_test.py 2019-12-03 15:12:36 -08:00
dist_optimizer_test.py DistributedOptimizer: wait for all workers to finish _LocalOptimizer constructor (#30062) 2019-11-19 18:30:00 -08:00
dist_utils.py Add local shutdown to process group agent (#30330) 2019-11-27 22:34:08 -08:00
expecttest.py
HowToWriteTestsUsingFileCheck.md
hypothesis_utils.py Refactor qconv_prepack and qconv_unpack to support conv3d (#28481) 2019-10-27 14:43:16 -07:00
jit_utils.py Simplify ScriptModule bindings. (#29432) 2019-11-11 13:52:36 -08:00
rpc_agent_test_fixture.py default construct rpc agent options based on the backend type (#30201) 2019-11-22 08:18:06 -08:00
rpc_test.py Change test_invalid_names test to only test constructor of WorkerInfo (#30620) 2019-12-03 09:07:10 -08:00
run_test.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
simulate_nccl_errors.py
test_autograd.py Simplify c10 dispatcher (#28314) 2019-11-14 21:35:44 -08:00
test_c10d_spawn.py
test_c10d.py Add helper to aggregate multiple process groups (#25768) 2019-11-27 08:34:34 -08:00
test_cpp_api_parity.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_cpp_extensions.py TestCppExtension now removes /tmp/torch_extensions folder so that it can be used by other users in a multi-user environment. (#30095) 2019-12-03 07:44:27 -08:00
test_cuda_primary_ctx.py
test_cuda.py windows build (#30556) 2019-12-02 14:54:22 -08:00
test_data_parallel.py Split out data_parallel tests from test_nn.py into a separate (#28297) 2019-10-18 17:48:40 -07:00
test_dataloader.py test reporting (#29658) 2019-11-19 11:15:31 -08:00
test_dist_autograd_spawn.py Enable EXE001 flake8 check. (#27560) 2019-10-09 09:15:29 -07:00
test_dist_optimizer_spawn.py Simple distributed optimizer (#29304) 2019-11-11 12:02:24 -08:00
test_distributed.py SyncBatchNorm Update on input dimension checks (#29626) 2019-11-18 16:09:51 -08:00
test_distributions.py Revert D18249048: Moved VonMises distribution with sampling upstream from Pyro. 2019-11-04 09:50:50 -08:00
test_docs_coverage.py Fix test_docs_coverage. 2019-10-15 12:20:13 -07:00
test_expecttest.py
test_fake_quant.py Temporarily disable test_numerical_consistency_per_tensor (#30600) 2019-12-02 06:57:14 -08:00
test_function_schema.py Add isBackwardCompatibleWith for Argument and FunctionSchema (#23409) 2019-09-13 20:37:14 -07:00
test_indexing.py Buffer python warning to avoid deadlocks 2019-11-07 08:35:06 -08:00
test_jit_disabled.py
test_jit_fuser_legacy.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_fuser.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_legacy.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_py3.py split module interface tests (#29917) 2019-11-15 19:09:36 -08:00
test_jit_simple.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_string.py
test_jit.py make sure the counter stays correct in between bailout transitions (#30186) 2019-12-03 14:59:08 -08:00
test_logging.py
test_mkldnn.py
test_multiprocessing_spawn.py Add torch.multiprocessing.create_processes 2019-12-03 10:38:19 -08:00
test_multiprocessing.py Disable tsan for test_multiprocessing. (#27410) 2019-10-07 11:29:04 -07:00
test_namedtensor.py Revert D18580867: Add logical_and and logical_or 2019-11-27 09:27:00 -08:00
test_namedtuple_return_api.py Migrate return type void to () for native functions. (#28290) 2019-10-22 15:23:20 -07:00
test_nccl.py
test_nn.py Added check for torch.where on CPU that both arguments have same dtype (#30662) 2019-12-03 15:19:52 -08:00
test_numba_integration.py
test_optim.py Add multiplicative lr. (#27254) 2019-10-23 11:38:45 -07:00
test_qat.py Refactoing names for consistency 2019-10-16 12:18:26 -07:00
test_quantization.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_quantized_models.py Refactoing names for consistency 2019-10-16 12:18:26 -07:00
test_quantized_nn_mods.py Fix BC for quantized linear 2019-11-26 17:38:09 -08:00
test_quantized_tensor.py Skip copy_same_type_transpose_ for quantized tensor (#29609) 2019-11-12 13:16:38 -08:00
test_quantized.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_rpc_spawn.py Enable EXE001 flake8 check. (#27560) 2019-10-09 09:15:29 -07:00
test_sparse.py Error instead of assertion failure for div by sparse (#30260) 2019-11-22 11:31:26 -08:00
test_tensorboard.py fixing test_tensorboard for py2 (#30298) 2019-11-22 01:02:07 -08:00
test_throughput_benchmark.py
test_torch.py Added check for torch.where on CPU that both arguments have same dtype (#30662) 2019-12-03 15:19:52 -08:00
test_type_hints.py Documentation for named tensors (#27173) 2019-10-08 22:22:30 -07:00
test_type_info.py
test_type_promotion.py Makes test_type_promotion generic (#29417) 2019-11-15 09:54:07 -08:00
test_utils.py Opset 11 updates (#28225) 2019-11-04 12:16:12 -08:00