Program Listing for File greater.h

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

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

namespace mindspore {
namespace ops {
constexpr auto kNameGreater = "Greater";
class MIND_API Greater : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(Greater);
  Greater() : BaseOperator(kNameGreater) { InitIOName({"x", "y"}, {"output"}); }
  void Init() const {}
};
MIND_API abstract::AbstractBasePtr GreaterInfer(const abstract::AnalysisEnginePtr &, const PrimitivePtr &primitive,
                                                const std::vector<abstract::AbstractBasePtr> &input_args);
using kPrimGreaterPtr = std::shared_ptr<Greater>;
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_GREATER_H_