@@ -102,7 +102,7 @@ static std::unique_ptr<TensorIterator> make_reduction(
102
102
}
103
103
104
104
static inline Tensor cumsum (const Tensor& self, int64_t dim, optional<ScalarType> dtype) {
105
- return at::_cumsum (integer_upcast (self, dtype), dim);
105
+ return at::_th_cumsum (integer_upcast (self, dtype), dim);
106
106
}
107
107
108
108
Tensor cumsum (const Tensor& self, int64_t dim, ScalarType dtype) {
@@ -122,7 +122,7 @@ static inline Tensor& cumsum_out(Tensor& result, const Tensor& self, int64_t dim
122
122
" and " ,
123
123
at::toString (dtype.value ()),
124
124
" ." );
125
- return at::_cumsum_out (result, self.toType (result.type ().scalarType ()), dim);
125
+ return at::_th_cumsum_out (result, self.toType (result.type ().scalarType ()), dim);
126
126
}
127
127
128
128
Tensor& cumsum_out (Tensor& result, const Tensor& self, int64_t dim, ScalarType dtype) {
@@ -134,7 +134,7 @@ Tensor& cumsum_out(Tensor& result, const Tensor& self, int64_t dim) {
134
134
}
135
135
136
136
static inline Tensor cumprod (const Tensor& self, int64_t dim, optional<ScalarType> dtype) {
137
- return at::_cumprod (integer_upcast (self, dtype), dim);
137
+ return at::_th_cumprod (integer_upcast (self, dtype), dim);
138
138
}
139
139
140
140
Tensor cumprod (const Tensor& self, int64_t dim, ScalarType dtype) {
@@ -154,7 +154,7 @@ static inline Tensor& cumprod_out(Tensor& result, const Tensor& self, int64_t di
154
154
" and " ,
155
155
at::toString (dtype.value ()),
156
156
" ." );
157
- return at::_cumprod_out (result, self.toType (result.type ().scalarType ()), dim);
157
+ return at::_th_cumprod_out (result, self.toType (result.type ().scalarType ()), dim);
158
158
}
159
159
160
160
Tensor& cumprod_out (Tensor& result, const Tensor& self, int64_t dim, ScalarType dtype) {
0 commit comments