youtube

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2022 License: AGPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YoutubeDnn

type YoutubeDnn struct {
	// contains filtered or unexported fields
}

func NewYoutubeDnn

func NewYoutubeDnn(
	uProfileDim, uBehaviorSize, uBehaviorDim int,
	iFeatureDim int,
	cFeatureDim int,
) (mlp *YoutubeDnn)

func NewYoutubeDnnFromJson

func NewYoutubeDnnFromJson(data []byte) (mlp *YoutubeDnn, err error)

func (*YoutubeDnn) Fwd

func (mlp *YoutubeDnn) Fwd(xUserProfile, ubMatrix, xItemFeature, xCtxFeature *G.Node, batchSize, uBehaviorSize, uBehaviorDim int) (err error)

Fwd ... xUserProfile: [batchSize, userProfileDim] xUbMatrix: [batchSize, uBehaviorSize* uBehaviorDim] xUserBehaviors: [batchSize, uBehaviorSize, uBehaviorDim] xItemFeature: [batchSize, iFeatureDim] xContextFeature: [batchSize, cFeatureDim]

func (*YoutubeDnn) Graph

func (mlp *YoutubeDnn) Graph() *G.ExprGraph

func (*YoutubeDnn) In

func (mlp *YoutubeDnn) In() G.Nodes

func (*YoutubeDnn) Learnable

func (mlp *YoutubeDnn) Learnable() G.Nodes

func (*YoutubeDnn) Marshal

func (mlp *YoutubeDnn) Marshal() (data []byte, err error)

func (*YoutubeDnn) Out

func (mlp *YoutubeDnn) Out() *G.Node

func (*YoutubeDnn) SetVM

func (mlp *YoutubeDnn) SetVM(vm G.VM)

func (*YoutubeDnn) Vm

func (mlp *YoutubeDnn) Vm() G.VM

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL