Class Stack

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Stack : public mindspore::ops::BaseOperator

Stacks a list of tensors in specified axis. Refer to Python API mindspore::ops::Tile for more details.

Public Functions

inline Stack()

Constructor.

void Init(const int64_t axis)

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

void set_axis(const int64_t axis)

Set axis.

int64_t get_axis() const

Get axis.

Returns

axis.