Tf.tile()の使用法と例
Tf Tile Usage Examples
tf.tile( Input, #input Multiples, #number of times copied on a dimension name=None )
インスタンス
import tensorflow as tf a = tf.tile([1,2,3],[2]) b = tf.tile([[1,2], [3,4], [5,6]],[2,3]) with tf.Session() as sess: print(sess.run(a)) print(sess.run(b))
結果: