Class ReduceSum

Inheritance Relationships

Base Type

Class Documentation

class ReduceSum : public mindspore::ops::Reduce

Reduces a dimension of a tensor by summing all elements in the dimension, by default. Refer to Python API mindspore.ops.ReduceSum for more details.

Public Functions

inline ReduceSum()

Constructor.

~ReduceSum() = default

Destructor.

inline void Init()

Init.