August 2017
Intermediate to advanced
288 pages
8h 6m
English
This section provides the steps to set up the visible and hidden layers of an RBM using TensorFlow:
# Reset the graph tf$reset_default_graph() # Starting session as interactive session sess <- tf$InteractiveSession()
num_input<-784L num_hidden<-900L
W <- tf$placeholder(tf$float32, shape = shape(num_input, num_hidden))
vb <- tf$placeholder(tf$float32, shape = shape(num_input)) hb <- tf$placeholder(tf$float32, ...
Read now
Unlock full access