Program Listing for File logical_or.h
↰ Return to documentation for file (include/converter/include/ops/logical_or.h
)
#ifndef MINDSPORE_CORE_OPS_LOGICAL_OR_H_
#define MINDSPORE_CORE_OPS_LOGICAL_OR_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 kNameLogicalOr = "LogicalOr";
class MIND_API LogicalOr : public BaseOperator {
public:
MIND_API_BASE_MEMBER(LogicalOr);
LogicalOr() : BaseOperator(kNameLogicalOr) { InitIOName({"x1", "x2"}, {"y"}); }
void Init() const {}
};
MIND_API abstract::AbstractBasePtr LogicalOrInfer(const abstract::AnalysisEnginePtr &, const PrimitivePtr &primitive,
const std::vector<abstract::AbstractBasePtr> &input_args);
using kPrimLogicalOrPtr = std::shared_ptr<LogicalOr>;
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_LOGICAL_OR_H_