I have a TensorArray (a) to store the values computed within the tf.while_loop. However, I cannot convert the TensorArray to a Numpy array.
import time import