I have a tensor of shape [None,2,7], a dummy shape for better understanding. I need to get the below numpy functionality in tensorflow.
arr = np.array([[[1, 2, 3,