GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Give name to theano function · alabarga/DeepLearningTutorials@57a80fd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • code
    • rbm.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/rbm.py‎

Copy file name to clipboardExpand all lines: code/rbm.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ def get_cost_updates(self, lr=0.1, persistent=None, k=1):
257257
# chain_start is the initial state corresponding to the
258258
# 6th output
259259
outputs_info=[None, None, None, None, None, chain_start],
260-
n_steps=k
260+
n_steps=k,
261+
name="gibbs_hvh"
261262
)
262263
# start-snippet-3
263264
# determine gradients on RBM parameters
@@ -496,7 +497,8 @@ def test_rbm(learning_rate=0.1, training_epochs=15,
496497
) = theano.scan(
497498
rbm.gibbs_vhv,
498499
outputs_info=[None, None, None, None, None, persistent_vis_chain],
499-
n_steps=plot_every
500+
n_steps=plot_every,
501+
name="gibbs_vhv"
500502
)
501503

502504
# add to updates the shared variable that takes care of our persistent

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.