MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / set_session

Method set_session

rl2/cartpole/pg_tf.py:149–150  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

147 self.train_op = tf.train.GradientDescentOptimizer(1e-4).minimize(cost)
148
149 def set_session(self, session):
150 self.session = session
151
152 def partial_fit(self, X, Y):
153 X = np.atleast_2d(X)

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected