Class ReverseV2

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class ReverseV2 : public mindspore::ops::BaseOperator

Reverses specific dimensions of a tensor. Refer to Python API mindspore.ops.ReverseV2 for more details.

Public Functions

inline ReverseV2()

Constructor.

void Init(const std::vector<int64_t> &axis)

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

void set_axis(const std::vector<int64_t> &axis)

Set axis.

std::vector<int64_t> get_axis() const

Get axis.

返回

axis.