Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
13530934
baselines
Commits
4fd1d218
Commit
4fd1d218
authored
May 28, 2017
by
YenChenLin
Browse files
Fix typo
parent
5c80997d
Changes
2
Hide whitespace changes
Inline
Side-by-side
baselines/deepq/build_graph.py
View file @
4fd1d218
...
...
@@ -98,7 +98,7 @@ def build_act(make_obs_ph, q_func, num_actions, scope="deepq", reuse=None):
Returns
-------
act: (tf.Variable, bool, float) -> tf.Variable
function to select and action given obser
c
ation.
function to select and action given obser
v
ation.
` See the top of the file for details.
"""
with
tf
.
variable_scope
(
scope
,
reuse
=
reuse
):
...
...
@@ -164,7 +164,7 @@ def build_train(make_obs_ph, q_func, num_actions, optimizer, grad_norm_clipping=
Returns
-------
act: (tf.Variable, bool, float) -> tf.Variable
function to select and action given obser
c
ation.
function to select and action given obser
v
ation.
` See the top of the file for details.
train: (object, np.array, np.array, object, np.array, np.array) -> np.array
optimize the error in Bellman's equation.
...
...
baselines/deepq/simple.py
View file @
4fd1d218
...
...
@@ -68,7 +68,7 @@ def load(path, num_cpu=16):
Returns
-------
act: ActWrapper
function that takes a batch of obser
c
ations
function that takes a batch of obser
v
ations
and returns actions.
"""
return
ActWrapper
.
load
(
path
,
num_cpu
=
num_cpu
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment