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

Method forward

rl2/atari/dqn_theano.py:219–221  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

217 self.f = f
218
219 def forward(self, X):
220 a = X.dot(self.W) + self.b
221 return self.f(a)
222
223class DQN:
224 def __init__(self, K, conv_layer_sizes, hidden_layer_sizes):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected