Skip to content

Commit c978d18

Browse files
committed
Internal change
PiperOrigin-RevId: 501022379
1 parent 65b8220 commit c978d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/vision/modeling/layers/edgetpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
"""EdgeTPU oriented layers and tools."""
16-
from typing import List, Optional, Sequence, Union, Iterable
16+
from typing import List, Optional, Union, Iterable, Sequence
1717

1818
import numpy as np
1919
import tensorflow as tf
@@ -101,7 +101,7 @@ def _same(x):
101101

102102

103103
def shard_tensors(
104-
axis: int, block_size: int, tensors: Sequence[tf.Tensor]
104+
axis: int, block_size: int, tensors: 'Sequence[tf.Tensor]'
105105
) -> Union[List[Sequence[tf.Tensor]], 'Iterable[Sequence[tf.Tensor]]']:
106106
"""Consistently splits multiple tensors sharding-style.
107107

0 commit comments

Comments
 (0)