Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ set_session
Method
set_session
rl2/cartpole/dqn_tf.py:100–101 ·
view source on GitHub ↗
(self, session)
Source
from the content-addressed store, hash-verified
98
self.gamma = gamma
99
100
def
set_session(self, session):
101
self.session = session
102
103
def
copy_from(self, other):
104
# collect all the ops
Callers
1
main
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected