Program Listing for File glu.h

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

#ifndef MINDSPORE_CORE_OPS_GLU_H_
#define MINDSPORE_CORE_OPS_GLU_H_
#include <memory>
#include <vector>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"

namespace mindspore {
namespace ops {
constexpr auto kNameGLU = "GLU";
class MIND_API GLU : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(GLU);
  GLU() : BaseOperator(kNameGLU) { InitIOName({"x"}, {"output"}); }
  void Init(int64_t axis);
  void set_axis(int64_t axis);
  int64_t get_axis() const;
};
}  // namespace ops
}  // namespace mindspore
#endif  // MINDSPORE_CORE_OPS_GLU_H_