diff --git a/src/frontends/tensorflow/src/frontend.cpp b/src/frontends/tensorflow/src/frontend.cpp index f63037414f3..06944d27e8e 100644 --- a/src/frontends/tensorflow/src/frontend.cpp +++ b/src/frontends/tensorflow/src/frontend.cpp @@ -108,6 +108,10 @@ void FrontEnd::translate_graph(const ov::frontend::InputModel::Ptr& model, // prepare a list of OV node inputs for each node ov::OutputVector ng_inputs; for (size_t input_port_idx = 0; input_port_idx < operation_decoder->get_input_size(); ++input_port_idx) { + // TODO: Implement more general approach. Skipping Constants that have input edges + if (operation_decoder->get_op_type() == "Const") { + break; + } std::string producer_name; size_t producer_port_idx; try { @@ -143,7 +147,7 @@ void FrontEnd::translate_graph(const ov::frontend::InputModel::Ptr& model, ng_inputs.push_back(input_outputs_vector.at(producer_port_idx)); } else { FRONT_END_GENERAL_CHECK(false, - "No input is found for node \"" + operation_name + "\" by port" + + "No input is found for node \"" + operation_name + "\" by port " + std::to_string(producer_port_idx)); } }