deeplearning4j嵌入多个字段

如何在deeplearning4j中嵌入多个字段?

例如,如果我要将.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb:before { content: "\f00c"; font: normal normal normal 14px/1 FontAwesome; } user_id嵌入为两个字段:

ad_id

此代码仅在deeplearning4j中嵌入一个字段。如何一次嵌入多个?

iCMS 回答:deeplearning4j嵌入多个字段

在这种情况下,您将使用基于ComputationGraph的网络。一个ComputationGraph可以有多个输入,这将允许您在开始时使用多个嵌入层。

有关更多信息,请查看文档: https://deeplearning4j.konduit.ai/models/computationgraph#example-2-multiple-inputs-and-merge-vertex

本文链接:https://www.f2er.com/2068579.html

大家都在问