diff --git a/src/frontends/tensorflow_common/src/op/pack.cpp b/src/frontends/tensorflow_common/src/op/pack.cpp index b6f75754b53ee6..c3b5c54aa60abf 100644 --- a/src/frontends/tensorflow_common/src/op/pack.cpp +++ b/src/frontends/tensorflow_common/src/op/pack.cpp @@ -21,6 +21,7 @@ namespace op { OutputVector translate_pack_op(const NodeContext& node) { default_op_checks(node, 1, {"Pack", "PACK"}, true); + auto num_size = static_cast(node.get_input_size()); auto axis = node.get_attribute("axis", 0);