pytorch/test
Malgi Nikitha Vivekananda 85a70ce71f Add multiline string dedent support (#45580)
Summary:
Fixes #{44842}
Summary
========
This PR adds support for multiline string dedents.

Test
=====
pytest -k test_multiline_string_dedents test/test_jit.py

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

Reviewed By: wconstab

Differential Revision: D24025866

Pulled By: nikithamalgifb

fbshipit-source-id: 0f49739fb93f70f73a8f367caca2887f558a3937
2020-09-30 16:08:26 -07:00
..
backward_compatibility [quant] Make choose_qparams_optimized return Tensors to preserve dtype (#45530) 2020-09-30 11:35:23 -07:00
bottleneck_test
cpp [c++] Distance-agnostic triplet margin loss (#45377) 2020-09-30 12:37:35 -07:00
cpp_api_parity Support tuple inputs in NN Module test (#44853) 2020-09-28 22:05:05 -07:00
cpp_extensions Add barrier() at the end of init_process_group and new_group. (#45181) 2020-09-25 15:46:59 -07:00
custom_backend [JIT] Modify to_backend API so that it accepts wrapped modules (#43612) 2020-09-28 17:17:01 -07:00
custom_operator
distributed [Distributed] Adding Python tests for the TCPStore getNumKeys and deleteKey (#45402) 2020-09-28 15:35:24 -07:00
error_messages
expect
fx [resubmit][FX] s/get_param/get_attr/ (#45147) 2020-09-22 17:06:18 -07:00
jit [JIT] Enable @unused syntax for ignoring properties (#45261) 2020-09-29 10:24:25 -07:00
mobile
namespace_b torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
onnx [ONNX] Update embedding_bag export (#44693) 2020-09-30 13:36:40 -07:00
optim
package_a torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
quantization [quant] Make choose_qparams_optimized return Tensors to preserve dtype (#45530) 2020-09-30 11:35:23 -07:00
scripts
test_img
type_hint_tests
HowToWriteTestsUsingFileCheck.md
module_a.py torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
print_test_stats.py add circle ci job name dimension to report test stats (#45457) 2020-09-28 20:51:58 -07:00
run_test.py ROCm {emoji:2764} TensorExpr (#45506) 2020-09-29 16:52:16 -07:00
simulate_nccl_errors.py
test_autograd.py Add whitelist for complex backward (#45461) 2020-09-30 08:45:55 -07:00
test_bundled_images.py
test_bundled_inputs.py
test_complex.py
test_cpp_api_parity.py Always use NewModuleTest instead of ModuleTest. (#44745) 2020-09-17 07:36:39 -07:00
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py
test_cuda.py Run pytorch_core CUDA tests on GPU using TPX 2020-09-24 12:12:23 -07:00
test_cuda_primary_ctx.py
test_dataloader.py Add ShuffleDataset with buffer (#45290) 2020-09-30 07:58:15 -07:00
test_determination.py
test_dispatch.py Align casing in test_dispatch with dispatch keys. (#44933) 2020-09-22 10:50:08 -07:00
test_distributions.py
test_expecttest.py
test_foreach.py Enable binary ops with Scalar Lists with for foreach APIs (#45298) 2020-09-25 12:58:34 -07:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_futures.py
test_fx.py [FX] Shape propagation example (#45589) 2020-09-30 13:18:23 -07:00
test_indexing.py
test_jit.py Add multiline string dedent support (#45580) 2020-09-30 16:08:26 -07:00
test_jit_cuda_fuser.py Enable PE + TE (#45546) 2020-09-30 06:49:59 -07:00
test_jit_cuda_fuser_legacy.py [nvFuser] Latency improvements for pointwise + reduction fusion (#45218) 2020-09-24 23:17:20 -07:00
test_jit_cuda_fuser_profiling.py [nvFuser] Latency improvements for pointwise + reduction fusion (#45218) 2020-09-24 23:17:20 -07:00
test_jit_disabled.py
test_jit_fuser.py Adjust TF32 tests (#44240) 2020-09-24 10:25:58 -07:00
test_jit_fuser_legacy.py
test_jit_fuser_te.py Build shape expressions and remove outputs that are only used by aten::sizes (#45080) 2020-09-28 10:45:56 -07:00
test_jit_legacy.py
test_jit_profiling.py
test_jit_py3.py [JIT] Enable @unused syntax for ignoring properties (#45261) 2020-09-29 10:24:25 -07:00
test_jit_simple.py
test_jit_string.py
test_linalg.py Updates linalg warning + docs (#45415) 2020-09-28 05:28:42 -07:00
test_logging.py
test_mkldnn.py
test_mobile_optimizer.py [pytorch] Replace "blacklist" in test/test_mobile_optimizer.py (#45512) 2020-09-30 10:43:59 -07:00
test_multiprocessing.py
test_multiprocessing_spawn.py
test_namedtensor.py
test_namedtuple_return_api.py
test_native_functions.py Revert D23753711: [pytorch][PR] Add foreach APIs for binary ops with ScalarList 2020-09-24 11:55:49 -07:00
test_nn.py Add fuse support for batchnorm with affine=False (#45474) 2020-09-30 14:15:05 -07:00
test_numba_integration.py
test_op_aliases.py Migrate addr from the TH to Aten (CPU) (#44364) 2020-09-25 01:18:09 -07:00
test_openmp.py
test_ops.py Missing tests about torch.xxx(out=...) (#44465) 2020-09-29 04:54:46 -07:00
test_optim.py Update test_multi_tensor_optimizers test (#45510) 2020-09-30 08:59:18 -07:00
test_overrides.py Complex gradcheck logic (#43208) 2020-09-20 22:05:04 -07:00
test_package.py [package] Add dependency viz (#45214) 2020-09-28 15:38:41 -07:00
test_profiler.py Source code level attribution in profiler (#43898) 2020-09-30 00:57:35 -07:00
test_pruning_op.py
test_quantization.py
test_serialization.py
test_show_pickle.py
test_sparse.py Sparse softmax support (CUDA) (#42307) 2020-09-24 00:07:30 -07:00
test_spectral_ops.py torch.fft: Multi-dimensional transforms (#44550) 2020-09-23 22:09:58 -07:00
test_static_runtime.py [static runtime] Split out graph preparation from runtime (#44131) 2020-09-28 13:01:23 -07:00
test_tensor_creation_ops.py Enable bfloat16 random kernels on Windows (#44918) 2020-09-18 15:55:32 -07:00
test_tensorboard.py
test_tensorexpr.py
test_throughput_benchmark.py
test_torch.py Enable transposed tensor copy for complex types (#45487) 2020-09-29 19:22:05 -07:00
test_type_hints.py
test_type_info.py
test_type_promotion.py [fix] type promotion atan2 (#43466) 2020-09-23 22:23:05 -07:00
test_unary_ufuncs.py
test_utils.py Revert D24010742: [pytorch][PR] Add callgrind collection to Timer 2020-09-30 10:15:46 -07:00
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py