Move manual_seed into ATen/Context.h; delete reimplementation in test_seed.h (#14625)
authorEdward Yang <ezyang@fb.com>
Tue, 4 Dec 2018 02:44:06 +0000 (18:44 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 4 Dec 2018 02:49:58 +0000 (18:49 -0800)
commit22ab6183c5ebfdaa9545a97c180f99d830ae79a0
treed24d79b29441b789eb894cf02c02b09e5de5474e
parent78d594f46cf48cff620aa3e69c40697882a503f3
Move manual_seed into ATen/Context.h; delete reimplementation in test_seed.h (#14625)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14625

I want to reorg the test files, but I am too lazy to make the include
paths for test_seed.h work out.  So just delete it.

Reviewed By: gchanan

Differential Revision: D13277567

fbshipit-source-id: a3e8e46e4816b6fc0fe926b20779839f9e0a1a06
20 files changed:
aten/src/ATen/Context.h
aten/src/ATen/test/apply_utils_test.cpp
aten/src/ATen/test/atest.cpp
aten/src/ATen/test/basic.cpp
aten/src/ATen/test/broadcast_test.cpp
aten/src/ATen/test/cuda_packedtensoraccessor_test.cu
aten/src/ATen/test/cudnn_test.cpp
aten/src/ATen/test/dlconvertor_test.cpp
aten/src/ATen/test/half_test.cpp
aten/src/ATen/test/native_test.cpp
aten/src/ATen/test/scalar_tensor_test.cpp
aten/src/ATen/test/scalar_test.cpp
aten/src/ATen/test/tbb_init_test.cpp
aten/src/ATen/test/test_parallel.cpp
aten/src/ATen/test/test_seed.h [deleted file]
aten/src/ATen/test/undefined_tensor_test.cpp
aten/src/ATen/test/wrapdim_test.cpp
torch/CMakeLists.txt
torch/csrc/api/include/torch/utils.h
torch/csrc/api/src/utils.cpp [deleted file]