Program Listing for File pow_fusion.h

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

#ifndef MINDSPORE_CORE_OPS_POW_FUSION_H_
#define MINDSPORE_CORE_OPS_POW_FUSION_H_
#include "mindapi/base/types.h"
#include "ops/pow.h"

namespace mindspore {
namespace ops {
constexpr auto kNamePowFusion = "PowFusion";
class MIND_API PowFusion : public Pow {
 public:
  MIND_API_BASE_MEMBER(PowFusion);
  PowFusion() : Pow(kNamePowFusion) {}

  void Init(const float &scale, const float &shift);

  void set_scale(const float &scale);

  void set_shift(const float &shift);

  float get_scale() const;

  float get_shift() const;
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_POW_FUSION_H_