// Copyright (C) 2018-2025 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "openvino/op/op.hpp" namespace ov { namespace op { namespace v10 { /// \brief Boolean mask that maps NaN values to true and other values to false. /// \ingroup ov_ops_cpp_api class OPENVINO_API IsNaN : public Op { public: OPENVINO_OP("IsNaN", "opset10"); IsNaN() = default; /// \brief Constructs a IsNaN operation. /// /// \param data Input data tensor IsNaN(const Output& data); std::shared_ptr clone_with_new_inputs(const OutputVector& new_args) const override; bool visit_attributes(AttributeVisitor& visitor) override; void validate_and_infer_types() override; }; } // namespace v10 } // namespace op } // namespace ov