Class Flatten

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Flatten : public mindspore::ops::BaseOperator

Flattens a tensor without changing its batch size on the 0-th axis. Refer to Python API mindspore.ops.Flatten for more details.

Public Functions

inline Flatten()

Constructor.

inline void Init() const

Init. Refer to the parameters of Python API mindspore.ops.Flatten for the inputs.