Class Pow

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Derived Type

Class Documentation

class Pow : public mindspore::ops::BaseOperator

Computes a tensor to the power of the second input. Refer to Python API mindspore.ops.Pow for more details.

Subclassed by mindspore::ops::PowFusion

Public Functions

inline explicit Pow(const std::string &k_name = kNamePow)

Constructor.

inline void Init() const

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