TypeError: List of Tensors when single Tensor expected - when using const with tf.random_normal

Viewed 14767

I have the following TensorFlow code:

tf.constant(tf.random_normal([time_step, batch_size], -1, 1))

I am getting TypeError: List of Tensors when single Tensor expected. Could you tell me what is wrong with the code?

2 Answers
Related