Slide 6
Slide 6 text
From
TENSORS IN TENSORFLOW
import tensorflow as tf
rank_3_tensor = tf.constant([
[[0, 1, 2, 3, 4],
[5, 6, 7, 8, 9]],
[[10, 11, 12, 13, 14],
[15, 16, 17, 18, 19]],
[[20, 21, 22, 23, 24],
[25, 26, 27, 28, 29]],])
import tensorflow as tf
rank_4_tensor = tf.zeros([3, 2, 4, 5])
the tensorflow tutorial
9