We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0de169 commit 65b8220Copy full SHA for 65b8220
official/vision/modeling/layers/edgetpu.py
@@ -323,9 +323,9 @@ def _non_max_suppression_as_is(boxes: tf.Tensor,
323
324
325
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, ...]:
+ top_k: int, scores_pair: 'tuple[Optional[tf.Tensor], tf.Tensor]',
+ *other_pairs: 'tuple[Optional[tf.Tensor], tf.Tensor]'
+) -> 'tuple[tf.Tensor, ...]':
329
"""Combines shards of top_k operation, when sharded along filtered dimension.
330
331
General idea is that sometimes top_k dimension is very large, while top_k is
0 commit comments