Documentation ¶
Index ¶
- type DinNet
- func (din *DinNet) Fwd(xUserProfile, xUbMatrix, xItemFeature, xCtxFeature *G.Node, ...) (err error)
- func (din *DinNet) Graph() *G.ExprGraph
- func (din *DinNet) In() G.Nodes
- func (din *DinNet) Learnable() G.Nodes
- func (din *DinNet) Marshal() (data []byte, err error)
- func (din *DinNet) Out() *G.Node
- func (din *DinNet) SetVM(vm G.VM)
- func (din *DinNet) Vm() G.VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DinNet ¶
type DinNet struct {
// contains filtered or unexported fields
}
func NewDinNetFromJson ¶
func (*DinNet) Fwd ¶
func (din *DinNet) Fwd(xUserProfile, xUbMatrix, xItemFeature, xCtxFeature *G.Node, batchSize, uBehaviorSize, uBehaviorDim int) (err error)
Fwd performs the forward pass xUserProfile: [batchSize, userProfileDim] xUbMatrix: [batchSize, uBehaviorSize* uBehaviorDim] xUserBehaviors: [batchSize, uBehaviorSize, uBehaviorDim] xItemFeature: [batchSize, iFeatureDim] xContextFeature: [batchSize, cFeatureDim]
Click to show internal directories.
Click to hide internal directories.