Program Listing for File sqrt.h

Return to documentation for file (include/converter/include/ops/sqrt.h)

#ifndef MINDSPORE_CORE_OPS_SQRT_H_
#define MINDSPORE_CORE_OPS_SQRT_H_
#include "mindapi/base/types.h"
#include "ops/base_operator.h"

namespace mindspore {
namespace ops {
constexpr auto kNameSqrt = "Sqrt";
class MIND_API Sqrt : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(Sqrt);
  Sqrt() : BaseOperator(kNameSqrt) { InitIOName({"x"}, {"output"}); }
  void Init() const {}
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_SQRT_H_