Equivalent to torch.unsqueeze() in tensorflow

In TF, the tf.expand_dims() is equivalent to the torch.unsqueeze().

4 Likes