Class Einsum

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Einsum : public mindspore::ops::BaseOperator

Refer to Python API mindspore.ops.Einsum for more details.

Public Functions

inline Einsum()

Constructor.

void Init(const std::string &equation)

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

void set_equation(const std::string &equation)

Set equation.

std::string get_equation() const

Get equation.

Returns

equation.