What is the right way to initialize a tensorarray from another tensor in tensorflow.
Suppose I have a tensor
T1
TensorArr = tf.TensorArray(tf.int32, 1, dynamic_size=True)
What is way to say that this tensorarray depends on T1? Looking at the documentation I cant figure out how to initialize this.
Correct me if my understanding is wrong, T1 is a nested tensor and I want to loop over a dimension using tf.while_loop and hence I want to initialize the TensorArray with it.