in 04_detect_segment/utils_box.py [0:0]
def __iou_tile_coordinate(x, tile_size):
"""Replicate a number across a bitmap of size tile_size"""
xx = tf.cast(tf.round(x), dtype=tf.int16)
xx = tf.expand_dims(xx, axis=-1)
xx = tf.tile(xx, [1, 1, tile_size])
xx = tf.expand_dims(xx, axis=2)
xx = tf.tile(xx, [1, 1, tile_size, 1])
return xx