Changing a list of tensors to a tensor of lists!
In order to stack list of tf tensors you could use the tf function stack hence the name
for ur case,

tf.stack([some_function(x) for x in something],axis=0)



or you could stack them in numpy and then convert the array to a tensor, to do so using numpy np.stack inputting a list and axis