【发布时间】:2021-01-03 12:58:27
【问题描述】:
原点张量:
a = tf.constant([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
我想要这样的张量:
result = [[1,2,3],[1,2,3],[1,2,3],[4,5,6],[4,5,6],[4,5,6],[7,8,9],[7,8,9],[7,8,9]]
使用 tile api 似乎不合适,有人可以帮忙吗?
【问题讨论】:
标签: python tensorflow tile