摘要:
1.tf.nn.embedding_lookup用来选取张量里对应的索引元素 %tensorflow_version 2.x import tensorflow as tf p=tf.Variable(tf.random.uniform([10,1])) b=tf.nn.embedding_look 阅读全文
摘要:
参考: https://www.zhihu.com/question/45027109/answer/129387065 https://blog.csdn.net/longxinchen_ml/article/details/89077048 一、引入 在我们完成基本的句子分词后,我们要把它们输入 阅读全文