Commit 59bb540 1 parent aa7e352 commit 59bb540 Copy full SHA for 59bb540
File tree 18 files changed +24
-36
lines changed
18 files changed +24
-36
lines changed Original file line number Diff line number Diff line change 7
7
#define SPARSE_SDDMM_H_
8
8
9
9
#include < sparse/sparse_matrix.h>
10
+ #include < torch/script.h>
10
11
11
12
namespace dgl {
12
13
namespace sparse {
Original file line number Diff line number Diff line change 8
8
9
9
// clang-format off
10
10
#include < sparse/dgl_headers.h>
11
- #include < sparse/torch_headers.h>
12
11
// clang-format on
13
12
13
+ #include < torch/custom_class.h>
14
+ #include < torch/script.h>
15
+
14
16
#include < memory>
15
17
#include < utility>
16
18
Original file line number Diff line number Diff line change 8
8
9
9
// clang-format off
10
10
#include < sparse/dgl_headers.h>
11
- #include < sparse/torch_headers.h>
12
11
// clang-format on
13
12
14
13
#include < sparse/sparse_format.h>
14
+ #include < torch/custom_class.h>
15
+ #include < torch/script.h>
15
16
16
17
#include < memory>
17
18
#include < tuple>
Original file line number Diff line number Diff line change 7
7
#define SPARSE_SPMM_H_
8
8
9
9
#include < sparse/sparse_matrix.h>
10
+ #include < torch/script.h>
10
11
11
12
namespace dgl {
12
13
namespace sparse {
Original file line number Diff line number Diff line change 7
7
#define SPARSE_SPSPMM_H_
8
8
9
9
#include < sparse/sparse_matrix.h>
10
+ #include < torch/script.h>
10
11
11
12
namespace dgl {
12
13
namespace sparse {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
#include < sparse/elementwise_op.h>
8
8
#include < sparse/matrix_ops.h>
9
9
#include < sparse/sparse_matrix.h>
10
+ #include < torch/script.h>
10
11
11
12
#include < memory>
12
13
Original file line number Diff line number Diff line change 7
7
8
8
// clang-format off
9
9
#include < sparse/dgl_headers.h>
10
- #include < sparse/torch_headers.h>
11
10
// clang-format on
12
11
13
12
#include < sparse/sparse_matrix.h>
13
+ #include < torch/script.h>
14
14
15
15
#include " ./utils.h"
16
16
Original file line number Diff line number Diff line change 7
7
#define DGL_SPARSE_MATMUL_H_
8
8
9
9
#include < sparse/sparse_matrix.h>
10
+ #include < torch/script.h>
10
11
11
12
#include < string>
12
13
Original file line number Diff line number Diff line change 4
4
* @brief DGL C++ matrix operators.
5
5
*/
6
6
#include < sparse/matrix_ops.h>
7
+ #include < torch/script.h>
7
8
8
9
namespace dgl {
9
10
namespace sparse {
Original file line number Diff line number Diff line change 5
5
*/
6
6
// clang-format off
7
7
#include < sparse/dgl_headers.h>
8
- #include < sparse/torch_headers.h>
9
8
// clang-format on
10
9
11
10
#include < sparse/elementwise_op.h>
16
15
#include < sparse/sparse_matrix.h>
17
16
#include < sparse/spmm.h>
18
17
#include < sparse/spspmm.h>
18
+ #include < torch/custom_class.h>
19
+ #include < torch/script.h>
19
20
20
21
namespace dgl {
21
22
namespace sparse {
Original file line number Diff line number Diff line change 5
5
*/
6
6
// clang-format off
7
7
#include < sparse/dgl_headers.h>
8
- #include < sparse/torch_headers.h>
9
8
// clang-format on
10
9
11
10
#include < sparse/elementwise_op.h>
12
11
#include < sparse/reduction.h>
13
12
#include < sparse/sparse_matrix.h>
13
+ #include < torch/script.h>
14
14
15
15
#include < string>
16
16
#include < vector>
Original file line number Diff line number Diff line change 5
5
*/
6
6
#include < sparse/sparse_matrix.h>
7
7
#include < sparse/spmm.h>
8
+ #include < torch/script.h>
8
9
9
10
#include < sstream>
10
11
Original file line number Diff line number Diff line change 6
6
7
7
#include < sparse/reduction.h>
8
8
#include < sparse/sparse_matrix.h>
9
+ #include < torch/script.h>
9
10
10
11
#include " ./matmul.h"
11
12
#include " ./utils.h"
Original file line number Diff line number Diff line change 7
7
#include < sparse/dgl_headers.h>
8
8
// clang-format on
9
9
10
+ #include < c10/util/Logging.h>
10
11
#include < sparse/elementwise_op.h>
11
12
#include < sparse/sparse_matrix.h>
13
+ #include < torch/script.h>
12
14
13
15
#include " ./utils.h"
14
16
Original file line number Diff line number Diff line change 7
7
#include < sparse/sddmm.h>
8
8
#include < sparse/sparse_matrix.h>
9
9
#include < sparse/spmm.h>
10
+ #include < torch/script.h>
10
11
11
12
#include < sstream>
12
13
Original file line number Diff line number Diff line change 7
7
#include < sparse/sddmm.h>
8
8
#include < sparse/sparse_matrix.h>
9
9
#include < sparse/spspmm.h>
10
+ #include < torch/script.h>
10
11
11
12
#include " ./matmul.h"
12
13
#include " ./utils.h"
Original file line number Diff line number Diff line change 8
8
9
9
// clang-format off
10
10
#include < sparse/dgl_headers.h>
11
- #include < sparse/torch_headers.h>
12
11
// clang-format on
13
12
13
+ #include < ATen/DLConvertor.h>
14
14
#include < sparse/sparse_matrix.h>
15
+ #include < torch/custom_class.h>
16
+ #include < torch/script.h>
15
17
16
18
namespace dgl {
17
19
namespace sparse {
You can’t perform that action at this time.
0 commit comments