Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Hands-On-Deep-Learning-with-Go
/ functions
Functions
137 in github.com/PacktPublishing/Hands-On-Deep-Learning-with-Go
⨍
Functions
137
◇
Types & classes
31
↓ 18 callers
Method
Reset
Reset moves player back to start position
Chapter07/dqn_maze_solver/maze.go:167
↓ 14 callers
Method
Value
()
Chapter05/h4_01_rnn_with_lstm_gru/gru.go:15
↓ 5 callers
Method
CanMoveTo
(player Point, direction Vector)
Chapter07/dqn_maze_solver/maze.go:130
↓ 4 callers
Method
Step
()
Chapter08/main.go:71
↓ 4 callers
Method
learnables
()
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:54
↓ 4 callers
Method
learnables
()
Chapter09/pachyderm_cifar_cnn/main.go:93
↓ 3 callers
Function
getPossibleActions
(m *Maze)
Chapter07/dqn_maze_solver/main.go:146
↓ 3 callers
Method
learnables
()
Chapter04/mnist_feedforward_cuda/main.go:80
↓ 3 callers
Method
learnables
()
Chapter06/cifar_cnn/main.go:89
↓ 3 callers
Method
learnables
()
Chapter03/mnist_feedforward/main.go:80
↓ 3 callers
Method
learnables
()
Chapter03/mnist_autoencoder/main.go:81
↓ 3 callers
Method
learnables
()
Chapter02/h4_01_simple_neural_network/main.go:38
↓ 3 callers
Method
learnables
()
Chapter08/main.go:105
↓ 3 callers
Function
visualizeRow
(x []float64)
Chapter03/mnist_autoencoder/main.go:130
↓ 3 callers
Function
visualizeRow
(x []float64)
Chapter08/main.go:190
↓ 2 callers
Function
Heatmap
(a *tensor.Dense)
Chapter05/h4_01_rnn_with_lstm_gru/heatmap.go:35
↓ 2 callers
Method
Move
(direction Vector)
Chapter07/dqn_maze_solver/maze.go:143
↓ 2 callers
Method
Start
()
Chapter04/mnist_feedforward_cuda/main.go:62
↓ 2 callers
Method
Start
()
Chapter06/cifar_cnn/main.go:55
↓ 2 callers
Method
Start
()
Chapter03/mnist_feedforward/main.go:62
↓ 2 callers
Method
Start
()
Chapter03/mnist_autoencoder/main.go:61
↓ 2 callers
Method
Start
()
Chapter09/pachyderm_cifar_cnn/main.go:59
↓ 2 callers
Method
Start
()
Chapter08/main.go:69
↓ 2 callers
Method
bestAction
(state *Maze, moves []Vector)
Chapter07/dqn_maze_solver/main.go:124
↓ 2 callers
Function
cleanup
(sigChan chan os.Signal, doneChan chan bool, profiling bool)
Chapter06/cifar_cnn/main.go:446
↓ 2 callers
Function
cleanup
(sigChan chan os.Signal, doneChan chan bool, profiling bool)
Chapter09/pachyderm_cifar_cnn/main.go:471
↓ 2 callers
Method
learnables
()
Chapter07/dqn_maze_solver/nn.go:51
↓ 2 callers
Method
predict
(player Point, action Vector)
Chapter07/dqn_maze_solver/main.go:88
↓ 2 callers
Function
printIntSlice
(filePath string, values []int)
Chapter06/cifar_cnn/main.go:475
↓ 2 callers
Function
printIntSlice
(filePath string, values []int)
Chapter09/pachyderm_cifar_cnn/main.go:500
↓ 1 callers
Method
Activate
(x, prev *Node)
Chapter05/h4_01_rnn_with_lstm_gru/gru.go:77
↓ 1 callers
Method
Dims
()
Chapter05/h4_01_rnn_with_lstm_gru/heatmap.go:20
↓ 1 callers
Method
Let1
(x input)
Chapter07/dqn_maze_solver/nn.go:103
↓ 1 callers
Function
MakeLSTM
(g *ExprGraph, hiddenSize, prevSize int)
Chapter05/h4_01_rnn_with_lstm_gru/lstm.go:25
↓ 1 callers
Function
NewMaze
(h, w int)
Chapter07/dqn_maze_solver/maze.go:49
↓ 1 callers
Function
NewNN
(batchsize int)
Chapter07/dqn_maze_solver/nn.go:33
↓ 1 callers
Function
NewS2S
NewS2S creates a new Seq2Seq network. Input size is the size of the embedding. Hidden size is the size of the hidden layer
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:32
↓ 1 callers
Method
Step
()
Chapter04/mnist_feedforward_cuda/main.go:64
↓ 1 callers
Method
Step
()
Chapter06/cifar_cnn/main.go:57
↓ 1 callers
Method
Step
()
Chapter03/mnist_feedforward/main.go:64
↓ 1 callers
Method
Step
()
Chapter03/mnist_autoencoder/main.go:63
↓ 1 callers
Method
Step
()
Chapter09/pachyderm_cifar_cnn/main.go:61
↓ 1 callers
Method
Value
(action Vector)
Chapter07/dqn_maze_solver/maze.go:152
↓ 1 callers
Method
build
()
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:62
↓ 1 callers
Method
cons
()
Chapter07/dqn_maze_solver/nn.go:61
↓ 1 callers
Method
fwd
(x *gorgonia.Node)
Chapter04/mnist_feedforward_cuda/main.go:84
↓ 1 callers
Method
fwd
(x *Node)
Chapter07/dqn_maze_solver/nn.go:15
↓ 1 callers
Method
fwd
This function is particularly verbose for educational reasons. In reality, you'd wrap up the layers within a layer struct type and perform per-layer a
Chapter06/cifar_cnn/main.go:94
↓ 1 callers
Method
fwd
(x *gorgonia.Node)
Chapter03/mnist_feedforward/main.go:84
↓ 1 callers
Method
fwd
(x *gorgonia.Node)
Chapter03/mnist_autoencoder/main.go:85
↓ 1 callers
Method
fwd
This function is particularly verbose for educational reasons. In reality, you'd wrap up the layers within a layer struct type and perform per-layer a
Chapter09/pachyderm_cifar_cnn/main.go:116
↓ 1 callers
Method
fwd
(x *Node)
Chapter02/h4_01_simple_neural_network/main.go:42
↓ 1 callers
Method
fwd
(x *gorgonia.Node)
Chapter08/main.go:109
↓ 1 callers
Method
init
()
Chapter07/dqn_maze_solver/main.go:31
↓ 1 callers
Function
initVocab
(ss []string, thresh int)
Chapter05/h4_01_rnn_with_lstm_gru/vocab.go:18
↓ 1 callers
Function
max
(a []float32)
Chapter07/dqn_maze_solver/main.go:155
↓ 1 callers
Method
model
()
Chapter07/dqn_maze_solver/nn.go:59
↓ 1 callers
Function
newConvNet
(g *gorgonia.ExprGraph)
Chapter06/cifar_cnn/main.go:68
↓ 1 callers
Function
newConvNet
(g *gorgonia.ExprGraph)
Chapter09/pachyderm_cifar_cnn/main.go:72
↓ 1 callers
Function
newNN
(g *gorgonia.ExprGraph)
Chapter04/mnist_feedforward_cuda/main.go:66
↓ 1 callers
Function
newNN
(g *gorgonia.ExprGraph)
Chapter03/mnist_feedforward/main.go:66
↓ 1 callers
Function
newNN
(g *gorgonia.ExprGraph)
Chapter03/mnist_autoencoder/main.go:65
↓ 1 callers
Function
newNN
(g *ExprGraph)
Chapter02/h4_01_simple_neural_network/main.go:22
↓ 1 callers
Function
newNN
(g *gorgonia.ExprGraph)
Chapter08/main.go:73
↓ 1 callers
Function
parseDtype
()
Chapter04/mnist_feedforward_cuda/main.go:39
↓ 1 callers
Function
parseDtype
()
Chapter06/cifar_cnn/main.go:40
↓ 1 callers
Function
parseDtype
()
Chapter03/mnist_feedforward/main.go:39
↓ 1 callers
Function
parseDtype
()
Chapter03/mnist_autoencoder/main.go:38
↓ 1 callers
Function
parseDtype
()
Chapter09/pachyderm_cifar_cnn/main.go:44
↓ 1 callers
Function
parseDtype
()
Chapter08/main.go:38
↓ 1 callers
Function
pixelWeight
(px byte)
Chapter06/cifar_cnn/cifar/cifar.go:16
↓ 1 callers
Function
pixelWeight
(px byte)
Chapter09/pachyderm_cifar_cnn/cifar/cifar.go:16
↓ 1 callers
Method
predict
(in []rune)
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:137
↓ 1 callers
Function
reversePixelWeight
(px float64)
Chapter04/mnist_feedforward_cuda/main.go:126
↓ 1 callers
Function
reversePixelWeight
(px float64)
Chapter03/mnist_feedforward/main.go:126
↓ 1 callers
Function
reversePixelWeight
(px float64)
Chapter03/mnist_autoencoder/main.go:125
↓ 1 callers
Function
reversePixelWeight
(px float64)
Chapter08/main.go:185
↓ 1 callers
Function
sample
(val gorgonia.Value)
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:20
↓ 1 callers
Method
savemodel
()
Chapter09/pachyderm_cifar_cnn/main.go:97
↓ 1 callers
Function
shuffle
(a []string)
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:37
↓ 1 callers
Function
train
(s *seq2seq, epochs int, solver Solver, data []string)
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:198
↓ 1 callers
Method
train
(mz *Maze)
Chapter07/dqn_maze_solver/main.go:99
↓ 1 callers
Method
train
(in []rune)
Chapter05/h4_01_rnn_with_lstm_gru/s2s.go:101
↓ 1 callers
Function
visualizeRow
(x []float64)
Chapter04/mnist_feedforward_cuda/main.go:131
↓ 1 callers
Function
visualizeRow
(x []float64)
Chapter03/mnist_feedforward/main.go:131
Method
Activate
(inputVector *Node, prev lstmout)
Chapter05/h4_01_rnn_with_lstm_gru/lstm.go:61
Function
Avg
(a []float64)
Chapter05/h4_01_rnn_with_lstm_gru/heatmap.go:68
Method
End
()
Chapter04/mnist_feedforward_cuda/main.go:63
Method
End
()
Chapter06/cifar_cnn/main.go:56
Method
End
()
Chapter03/mnist_feedforward/main.go:63
Method
End
()
Chapter03/mnist_autoencoder/main.go:62
Method
End
()
Chapter09/pachyderm_cifar_cnn/main.go:60
Method
End
()
Chapter08/main.go:70
Method
Err
()
Chapter05/h4_01_rnn_with_lstm_gru/gru.go:17
Method
InstructionID
()
Chapter05/h4_01_rnn_with_lstm_gru/gru.go:16
Method
Len
()
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:46
Method
Len
()
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:52
Method
Less
(i, j int)
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:47
Method
Less
(i, j int)
Chapter05/h4_01_rnn_with_lstm_gru/utils.go:53
Method
Let2
(xs []input, y []float32)
Chapter07/dqn_maze_solver/nn.go:84
next →
1–100 of 137, ranked by callers