FM中Embeding的理解

Posted 我家大宝最可爱

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FM中Embeding的理解相关的知识,希望对你有一定的参考价值。

1.tf.nn.embedding_lookup

这个函数的意义非常的简单,主要就是用来根据index来查询矩阵中的向量的。根据one-hot的index,到矩阵中去查找向量,这个向量就是embeeding。

# embedding
embedding = tf.constant(
        [[0.41, 0.71, 0.93],
		[0.16, 0.45, 

以上是关于FM中Embeding的理解的主要内容,如果未能解决你的问题,请参考以下文章