[TF FE] Refer Frontend Extension page in case unsupported operations (#17387)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This commit is contained in:
@@ -256,6 +256,9 @@ std::shared_ptr<ov::Model> FrontEnd::convert(const ov::frontend::InputModel::Ptr
|
||||
exception_message << unsupported_operation;
|
||||
++counter;
|
||||
}
|
||||
exception_message
|
||||
<< "\nTo facilitate the conversion of unsupported operations, refer to Frontend Extension documentation: "
|
||||
"https://docs.openvino.ai/latest/openvino_docs_Extensibility_UG_Frontend_Extensions.html \n";
|
||||
}
|
||||
|
||||
bool is_conversion_successful = ((unsupported_operations.size() == 0) && (failures.size() == 0));
|
||||
|
||||
@@ -194,7 +194,11 @@ TEST(FrontEndConvertModelTest, conversion_with_unknown_exception) {
|
||||
string ref_message = "Unknown exception type\n"
|
||||
"[TensorFlow Frontend] Internal error, no translator found for operation(s): Enter, Exit, "
|
||||
"LoopCond, Merge, NextIteration, Switch";
|
||||
string doc_message =
|
||||
"To facilitate the conversion of unsupported operations, refer to Frontend Extension documentation: "
|
||||
"https://docs.openvino.ai/latest/openvino_docs_Extensibility_UG_Frontend_Extensions.html";
|
||||
ASSERT_TRUE(error_message.find(ref_message) != string::npos);
|
||||
ASSERT_TRUE(error_message.find(doc_message) != string::npos);
|
||||
ASSERT_EQ(model, nullptr);
|
||||
} catch (...) {
|
||||
FAIL() << "Conversion of TensorFlow 1 While failed by wrong reason.";
|
||||
|
||||
Reference in New Issue
Block a user