MCPcopy 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

fitMethod · 0.45
fitMethod · 0.45
fitMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected