Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ get_vars
Function
get_vars
rl3/ddpg.py:32–33 ·
view source on GitHub ↗
(scope)
Source
from the content-addressed store, hash-verified
30
31
# get all variables within a scope
32
def
get_vars(scope):
33
return
[x
for
x in tf.global_variables()
if
scope in x.name]
34
35
36
### Create both the actor and critic networks at once ###
Callers
1
ddpg
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected