[Solved] Python use of a:[1,3]? [closed]


This is the syntax of a dictionary in Python, a data structure which maps an index to another object.

a = tf.placeholder(tf.float32)
{a: [1,3]}

In this case, a is a Tensor from Tensorflow and [1,3] are the values it will assume when the graph is executed.

IMO, you should invest your time into acquiring a better understanding of elementary data structures and syntax from Python before diving into Tensorflow.

2

solved Python use of a:[1,3]? [closed]