Program Listing for File exp_fusion.h
↰ Return to documentation for file (include/converter/include/ops/fusion/exp_fusion.h
)
#ifndef MINDSPORE_CORE_OPS_EXP_FUSION_H_
#define MINDSPORE_CORE_OPS_EXP_FUSION_H_
#include "mindapi/base/types.h"
#include "ops/exp.h"
namespace mindspore {
namespace ops {
constexpr auto kNameExpFusion = "ExpFusion";
class MIND_API ExpFusion : public Exp {
public:
MIND_API_BASE_MEMBER(ExpFusion);
ExpFusion() : Exp(kNameExpFusion) { InitIOName({"x"}, {"y"}); }
void Init(const float base = -1.0, const float scale = 1.0, const float shift = 0.0);
void set_base(const float base);
void set_scale(const float scale);
void set_shift(const float shift);
float get_base() const;
float get_scale() const;
float get_shift() const;
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_EXP_FUSION_H_