mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/28981 This PR adds support for calling those functions on named tensors. The implementation is not the nicest: in the future we have plans to merge names into TensorOptions, at which point we don't need the extra branches that check if the tensor has names. Right now, however, these functions are very useful to have (in particular, ones_like is used by autograd to generate gradients). Test Plan: - Added tests for each of these Differential Revision: D18270937 Pulled By: zou3519 fbshipit-source-id: 720739ff0474449a960b81728345a4250becbfc3 |
||
|---|---|---|
| .. | ||
| backward_compatibility | ||
| bottleneck | ||
| cpp | ||
| cpp_api_parity | ||
| cpp_extensions | ||
| custom_operator | ||
| data | ||
| error_messages | ||
| expect | ||
| jit | ||
| onnx | ||
| optim | ||
| scripts | ||
| test_module | ||
| common_cuda.py | ||
| common_device_type.py | ||
| common_distributed.py | ||
| common_methods_invocations.py | ||
| common_nn.py | ||
| common_quantization.py | ||
| common_quantized.py | ||
| common_utils.py | ||
| dist_autograd_test.py | ||
| dist_utils.py | ||
| expecttest.py | ||
| HowToWriteTestsUsingFileCheck.md | ||
| hypothesis_utils.py | ||
| jit_utils.py | ||
| rpc_test.py | ||
| run_test.py | ||
| simulate_nccl_errors.py | ||
| test_autograd.py | ||
| test_c10d.py | ||
| test_c10d_spawn.py | ||
| test_cpp_api_parity.py | ||
| test_cpp_extensions.py | ||
| test_cuda.py | ||
| test_cuda_primary_ctx.py | ||
| test_data_parallel.py | ||
| test_dataloader.py | ||
| test_dist_autograd_fork.py | ||
| test_dist_autograd_spawn.py | ||
| test_distributed.py | ||
| test_distributions.py | ||
| test_docs_coverage.py | ||
| test_expecttest.py | ||
| test_fake_quant.py | ||
| test_function_schema.py | ||
| test_indexing.py | ||
| test_jit.py | ||
| test_jit_disabled.py | ||
| test_jit_fuser.py | ||
| test_jit_py3.py | ||
| test_jit_string.py | ||
| test_logging.py | ||
| test_mkldnn.py | ||
| test_multiprocessing.py | ||
| test_multiprocessing_spawn.py | ||
| test_namedtensor.py | ||
| test_namedtuple_return_api.py | ||
| test_nccl.py | ||
| test_nn.py | ||
| test_numba_integration.py | ||
| test_optim.py | ||
| test_qat.py | ||
| test_quantization.py | ||
| test_quantized.py | ||
| test_quantized_models.py | ||
| test_quantized_nn_mods.py | ||
| test_quantized_tensor.py | ||
| test_rpc_fork.py | ||
| test_rpc_spawn.py | ||
| test_sparse.py | ||
| test_tensorboard.py | ||
| test_throughput_benchmark.py | ||
| test_torch.py | ||
| test_type_hints.py | ||
| test_type_info.py | ||
| test_type_promotion.py | ||
| test_utils.py | ||