@@ -172,7 +172,7 @@ uint64_t get_new_param_idx(const std::vector<uint64_t>& remove_parameter_idxs, u
172
172
for (auto remove_idx : remove_parameter_idxs) {
173
173
FRONT_END_GENERAL_CHECK (old_idx != remove_idx,
174
174
" [TensorFlow Frontend] internal error: incorrect old_idx for "
175
- " TensorListSliceInputAndConcatOutputReplacer transformation" );
175
+ " TensorListInLoopOptimization transformation" );
176
176
if (remove_idx < old_idx) {
177
177
++num_removed;
178
178
}
@@ -181,7 +181,7 @@ uint64_t get_new_param_idx(const std::vector<uint64_t>& remove_parameter_idxs, u
181
181
// compute shifted index
182
182
FRONT_END_GENERAL_CHECK (num_removed <= old_idx,
183
183
" [TensorFlow Frontend] internal error: incorrect new parameter index computation "
184
- " TensorListSliceInputAndConcatOutputReplacer transformation" );
184
+ " TensorListInLoopOptimization transformation" );
185
185
return old_idx - num_removed;
186
186
}
187
187
} // namespace
@@ -478,7 +478,7 @@ ov::frontend::tensorflow::pass::TensorListInLoopOptimization::TensorListInLoopOp
478
478
std::dynamic_pointer_cast<TensorListSetItem>(body_result->get_input_node_shared_ptr (0 ));
479
479
FRONT_END_GENERAL_CHECK (tensor_list_set_item,
480
480
" [TensorFlow Frontend] internal error: tensor_list_set_item is nullptr in "
481
- " TensorListSliceInputAndConcatOutputReplacer " );
481
+ " TensorListInLoopOptimization " );
482
482
// unsqueeze newly generated data at this iteration
483
483
// that will be concatenated
484
484
auto new_data = tensor_list_set_item->input_value (2 );
@@ -501,13 +501,13 @@ ov::frontend::tensorflow::pass::TensorListInLoopOptimization::TensorListInLoopOp
501
501
const auto & body_param = body_params[param_idx];
502
502
FRONT_END_GENERAL_CHECK (body_param->get_output_target_inputs (0 ).size () == 1 ,
503
503
" [TensorFlow Frontend] internal error: tensor list must have only consumer "
504
- " TensorListGetItem operation in TensorListSliceInputAndConcatOutputReplacer " );
504
+ " TensorListGetItem operation in TensorListInLoopOptimization " );
505
505
auto target_input = *(body_param->get_output_target_inputs (0 ).begin ());
506
506
auto tensor_list_get_item =
507
507
std::dynamic_pointer_cast<TensorListGetItem>(target_input.get_node ()->shared_from_this ());
508
508
FRONT_END_GENERAL_CHECK (tensor_list_get_item,
509
509
" [TensorFlow Frontend] internal error: tensor list must have only consumer "
510
- " TensorListGetItem operation in TensorListSliceInputAndConcatOutputReplacer " );
510
+ " TensorListGetItem operation in TensorListInLoopOptimization " );
511
511
512
512
auto new_shape = body_param->get_output_partial_shape (0 );
513
513
if (new_shape.rank ().is_static () && new_shape.rank ().get_length () > 0 ) {
0 commit comments