Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ output
Method
output
rnn_class/gru.py:54–63 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
52
return
h
53
54
def
output(self, x):
55
# input X should be a matrix (2-D)
56
# rows index time
57
h, _ = theano.scan(
58
fn=self.recurrence,
59
sequences=x,
60
outputs_info=[self.h0],
61
n_steps=x.shape[0],
62
)
63
return
h
Callers
4
fit
Method · 0.45
fit
Method · 0.45
fit
Method · 0.45
forward
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected