Class CumSum

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.

bool get_exclusive() const

Get exclusive.

返回

exclusive.

bool get_reverse() const

Get reverse.

返回

reverse.