pytorch/torch/lib/THD
Gregory Chanan 0947712e5d Move Factory functions from Type to TypeExtendedInterface. (#12025)
Summary:
This makes a few changes wrt Type, with the ultimate goal of removing Type from the public Methods/Functions.  In particular:
1) Removes factory functions from Type, into TypeExtendedInterface.
2) sparse_coo_tensor is now a first class at:: namespace function, with TensorOptions overloads.
3) We move from Type-based sparse_coo_tensor dispatch to function-based.

Note we still require a number of changes to get rid of tType in the public interface, in particular TensorOptions needs to support CUDA vs non-CUDA dispatch.  That is coming in a future patch.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12025

Reviewed By: ezyang

Differential Revision: D10017205

Pulled By: gchanan

fbshipit-source-id: 00807a37b09ed33f0656aaa165bb925abb026320
2018-09-25 09:40:17 -07:00
..
base Move Factory functions from Type to TypeExtendedInterface. (#12025) 2018-09-25 09:40:17 -07:00
benchmark Updated functions for benchmark test 2017-10-02 15:01:51 -04:00
process_group Replace std::size_t with size_t (#8093) 2018-06-04 11:10:44 -04:00
test Delete THD master_worker (#10731) 2018-08-22 08:54:36 -07:00
build.sh remove thpp library (#3405) 2017-11-01 11:57:09 -04:00
CMakeLists.txt Revert D9985212: [pytorch][PR] [minor] remove a remaining todo line deletion in THD cmake 2018-09-21 11:25:53 -07:00
THD.h Delete THD master_worker (#10731) 2018-08-22 08:54:36 -07:00