13六、TensorFlow的Embedding lookup

import tensorflow as tf; import numpy as np; c = np.random.random([10, 1]) b = tf.nn.embedding_lookup(c, [1, 3]) with tf.Session() as sess: sess.run(tf.global_variables_initializer
相關文章
相關標籤/搜索