Class Cos

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Cos : public mindspore::ops::BaseOperator

Computes cosine of input element-wise. Refer to Python API mindspore.ops.Cos for more details.

Public Functions

inline Cos()

Constructor.

void Init(float alpha = 0.0)

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