File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
dpctl/tensor/libtensor/source/reductions Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,16 @@ namespace tensor
42
42
namespace py_internal
43
43
{
44
44
45
+ /* ! @brief Add reduction functions to Python module */
45
46
void init_reduction_functions (py::module_ m)
46
47
{
47
- using dpctl::tensor::py_internal::init_argmax;
48
48
init_argmax (m);
49
- using dpctl::tensor::py_internal::init_argmin;
50
49
init_argmin (m);
51
- using dpctl::tensor::py_internal::init_logsumexp;
52
50
init_logsumexp (m);
53
- using dpctl::tensor::py_internal::init_max;
54
51
init_max (m);
55
- using dpctl::tensor::py_internal::init_min;
56
52
init_min (m);
57
- using dpctl::tensor::py_internal::init_prod;
58
53
init_prod (m);
59
- using dpctl::tensor::py_internal::init_reduce_hypot;
60
54
init_reduce_hypot (m);
61
- using dpctl::tensor::py_internal::init_sum;
62
55
init_sum (m);
63
56
}
64
57
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace tensor
34
34
namespace py_internal
35
35
{
36
36
37
- extern void init_reduction_functions (py::module_ m );
37
+ extern void init_reduction_functions (py::module_);
38
38
39
39
} // namespace py_internal
40
40
} // namespace tensor
You can’t perform that action at this time.
0 commit comments