Class CumSum
Defined in File cumsum.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class CumSum : public mindspore::ops::BaseOperator
Computes the cumulative sum of input tensor along axis. Refer to Python API mindspore.ops.CumSum for more details.
Public Functions
-
inline CumSum()
Constructor.
-
void Init(const bool exclusive, const bool reverse)
Init. Refer to the parameters of Python API mindspore.ops.CumSum for the inputs.
-
void set_exclusive(const bool exclusive)
Set exclusive.
-
void set_reverse(const bool reverse)
Set reverse.
-
void set_axis(const int64_t axis)
Set axis.
-
bool get_exclusive() const
Get exclusive.
- Returns
exclusive.
-
bool get_reverse() const
Get reverse.
- Returns
reverse.
-
int64_t get_axis() const
- Returns
axis.
-
inline CumSum()