Class Unpack

Inheritance Relationships

Base Type

Class Documentation

class Unpack : public mindspore::ops::PrimitiveC

Unstacks tensor in specified axis. Refer to Python API mindspore::ops::Unstack for more details.

Public Functions

inline Unpack()

Constructor.

~Unpack() = default

Destructor.

void Init(const int64_t axis = 0)

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

void set_axis(const int64_t axis)

Set axis.

int64_t get_axis() const

Get axis.

Returns

axis.