@@ -172,7 +172,7 @@ uint64_t get_new_param_idx(const std::vector<uint64_t>& remove_parameter_idxs, u
172172 for (auto remove_idx : remove_parameter_idxs) {
173173 FRONT_END_GENERAL_CHECK (old_idx != remove_idx,
174174 " [TensorFlow Frontend] internal error: incorrect old_idx for "
175- " TensorListSliceInputAndConcatOutputReplacer transformation" );
175+ " TensorListInLoopOptimization transformation" );
176176 if (remove_idx < old_idx) {
177177 ++num_removed;
178178 }
@@ -181,7 +181,7 @@ uint64_t get_new_param_idx(const std::vector<uint64_t>& remove_parameter_idxs, u
181181 // compute shifted index
182182 FRONT_END_GENERAL_CHECK (num_removed <= old_idx,
183183 " [TensorFlow Frontend] internal error: incorrect new parameter index computation "
184- " TensorListSliceInputAndConcatOutputReplacer transformation" );
184+ " TensorListInLoopOptimization transformation" );
185185 return old_idx - num_removed;
186186}
187187} // namespace
@@ -478,7 +478,7 @@ ov::frontend::tensorflow::pass::TensorListInLoopOptimization::TensorListInLoopOp
478478 std::dynamic_pointer_cast<TensorListSetItem>(body_result->get_input_node_shared_ptr (0 ));
479479 FRONT_END_GENERAL_CHECK (tensor_list_set_item,
480480 " [TensorFlow Frontend] internal error: tensor_list_set_item is nullptr in "
481- " TensorListSliceInputAndConcatOutputReplacer " );
481+ " TensorListInLoopOptimization " );
482482 // unsqueeze newly generated data at this iteration
483483 // that will be concatenated
484484 auto new_data = tensor_list_set_item->input_value (2 );
@@ -501,13 +501,13 @@ ov::frontend::tensorflow::pass::TensorListInLoopOptimization::TensorListInLoopOp
501501 const auto & body_param = body_params[param_idx];
502502 FRONT_END_GENERAL_CHECK (body_param->get_output_target_inputs (0 ).size () == 1 ,
503503 " [TensorFlow Frontend] internal error: tensor list must have only consumer "
504- " TensorListGetItem operation in TensorListSliceInputAndConcatOutputReplacer " );
504+ " TensorListGetItem operation in TensorListInLoopOptimization " );
505505 auto target_input = *(body_param->get_output_target_inputs (0 ).begin ());
506506 auto tensor_list_get_item =
507507 std::dynamic_pointer_cast<TensorListGetItem>(target_input.get_node ()->shared_from_this ());
508508 FRONT_END_GENERAL_CHECK (tensor_list_get_item,
509509 " [TensorFlow Frontend] internal error: tensor list must have only consumer "
510- " TensorListGetItem operation in TensorListSliceInputAndConcatOutputReplacer " );
510+ " TensorListGetItem operation in TensorListInLoopOptimization " );
511511
512512 auto new_shape = body_param->get_output_partial_shape (0 );
513513 if (new_shape.rank ().is_static () && new_shape.rank ().get_length () > 0 ) {
0 commit comments