Skip to content

Commit 65b8220

Browse files
committed
Internal change
PiperOrigin-RevId: 493630893
1 parent b0de169 commit 65b8220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

official/vision/modeling/layers/edgetpu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ def _non_max_suppression_as_is(boxes: tf.Tensor,
323323

324324

325325
def concat_and_top_k(
326-
top_k: int, scores_pair: tuple[Optional[tf.Tensor], tf.Tensor],
327-
*other_pairs: tuple[Optional[tf.Tensor], tf.Tensor]
328-
) -> tuple[tf.Tensor, ...]:
326+
top_k: int, scores_pair: 'tuple[Optional[tf.Tensor], tf.Tensor]',
327+
*other_pairs: 'tuple[Optional[tf.Tensor], tf.Tensor]'
328+
) -> 'tuple[tf.Tensor, ...]':
329329
"""Combines shards of top_k operation, when sharded along filtered dimension.
330330
331331
General idea is that sometimes top_k dimension is very large, while top_k is

0 commit comments

Comments
 (0)