I'm trying to understand the following thing from an implementation of a paper I'm currently reading:
In tensorflow, if I have a tensor x of shape (4,64,5,5)
Then I create a new dimension by doing
x = x[:,:,tf.newaxis]ending with a new tensor of
shape(4,64,1,5,5)Then I do
x = tf.tile(x, (1, 1, 5, 1, 1))
ending up with something of shape (4,64,5,5,5)
Reading the documentation for tf.tile, I still don't understand what is it exactly doing in this case. Am I replicating the new dimension for 5 times? And if yes, what is exactly placed in the new dimension by tensorflow? What am I exactly replicating?