Program Listing for File logical_not.h
↰ Return to documentation for file (include/converter/include/ops/logical_not.h
)
#ifndef MINDSPORE_CORE_OPS_LOGICAL_NOT_H_
#define MINDSPORE_CORE_OPS_LOGICAL_NOT_H_
#include <memory>
#include <vector>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameLogicalNot = "LogicalNot";
class MIND_API LogicalNot : public BaseOperator {
public:
MIND_API_BASE_MEMBER(LogicalNot);
LogicalNot() : BaseOperator(kNameLogicalNot) { InitIOName({"x"}, {"output"}); }
void Init() const {}
};
MIND_API abstract::AbstractBasePtr LogicalNotInfer(const abstract::AnalysisEnginePtr &, const PrimitivePtr &primitive,
const std::vector<abstract::AbstractBasePtr> &input_args);
using kPrimLogicalNotPtr = std::shared_ptr<LogicalNot>;
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_LOGICAL_NOT_H_