Program Listing for File div.h

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

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

namespace mindspore {
namespace ops {
constexpr auto kNameDiv = "Div";
class MIND_API Div : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(Div);
  Div() : BaseOperator(kNameDiv) { InitIOName({"x", "y"}, {"output"}); }
  explicit Div(const std::string k_name) : BaseOperator(k_name) { InitIOName({"x", "y"}, {"output"}); }
  void Init() const {}
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_DIV_H_