Program Listing for File logical_and.h

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

#ifndef MINDSPORE_CORE_OPS_LOGICAL_AND_H_
#define MINDSPORE_CORE_OPS_LOGICAL_AND_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 kNameLogicalAnd = "LogicalAnd";
class MIND_API LogicalAnd : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(LogicalAnd);
  LogicalAnd() : BaseOperator(kNameLogicalAnd) { InitIOName({"x1", "x2"}, {"y"}); }
  void Init() const {}
};
MIND_API abstract::AbstractBasePtr LogicalAndInfer(const abstract::AnalysisEnginePtr &, const PrimitivePtr &primitive,
                                                   const std::vector<abstract::AbstractBasePtr> &input_args);
using kPrimLogicalAndPtr = std::shared_ptr<LogicalAnd>;
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_LOGICAL_AND_H_