class ov::NodeValidationFailure¶
Overview¶
#include <node.hpp>
class NodeValidationFailure: public ov::AssertFailure
{
public:
// methods
static void create(
const CheckLocInfo& check_loc_info,
const Node \* node,
const std::string& explanation
);
template <class TShape>
static void create(
const CheckLocInfo& check_loc_info,
std::pair<const Node \*, const std::vector<TShape> \*>&& ctx,
const std::string& explanation
);
OPENVINO_API void create(
const CheckLocInfo& check_loc_info,
std::pair<const Node \*, const std::vector<PartialShape> \*>&& ctx,
const std::string& explanation
);
};
Inherited Members¶
public:
// fields
static const std::string default_msg;
// methods
static void create(
const CheckLocInfo& check_loc_info,
const std::string& explanation
);
static void create(
const CheckLocInfo& check_loc_info,
const std::string& context_info,
const std::string& explanation
);
Detailed Documentation¶
Methods¶
OPENVINO_API void create(
const CheckLocInfo& check_loc_info,
std::pair<const Node \*, const std::vector<PartialShape> \*>&& ctx,
const std::string& explanation
)
Specialization to throw the NodeValidationFailure
for shape inference using PartialShape
Parameters:
check_loc_info |
Exception location details to print. |
ctx |
NodeValidationFailure context which got pointer to node and input shapes used for shape inference. |
explanation |
Exception explanation string. |