A deep matching model library for recommendations & advertising. It's easy to train models and to export representation vectors which can be used for ANN search.
看起来该层只是返回了index的list,但是实际中如果不使用EmbeddingIndex直接获取index的list,会报出mask的某种错误,具体如下:TypeError: Layer sampled_softmax_layer does not support masking, but was passed an input_mask: [<tf.Tensor 'sparse_seq_emb_hist_item_id_1/NotEqual:0' shape=(14781,) dtype=bool>, None, None]
Describe the question(问题描述) class EmbeddingIndex(Layer):
看起来该层只是返回了index的list,但是实际中如果不使用EmbeddingIndex直接获取index的list,会报出mask的某种错误,具体如下:TypeError: Layer sampled_softmax_layer does not support masking, but was passed an input_mask: [<tf.Tensor 'sparse_seq_emb_hist_item_id_1/NotEqual:0' shape=(14781,) dtype=bool>, None, None]
有没有大佬分析一下
Operating environment(运行环境):