擅长:python、mysql、java
<p>这是Python中<a href="https://docs.python.org/3.6/tutorial/datastructures.html#dictionaries" rel="nofollow noreferrer">dictionary</a>的语法,一种将索引映射到另一个对象的数据结构。你知道吗</p>
<pre><code>a = tf.placeholder(tf.float32)
{a: [1,3]}
</code></pre>
<p>在本例中,<code>a</code>是来自<a href="https://www.tensorflow.org/" rel="nofollow noreferrer">Tensorflow</a>的<code>Tensor</code>,而<code>[1,3]</code>是执行图形时它将假定的值。你知道吗</p>
<p>在我看来,在深入研究Tensorflow之前,您应该花时间从Python中更好地了解基本的<a href="https://docs.python.org/3.6/tutorial/datastructures.htm" rel="nofollow noreferrer">data structures</a>和<a href="https://docs.python.org/3.6/tutorial/" rel="nofollow noreferrer">syntax</a>。你知道吗</p>