This commit is contained in:
Mike J Innes 2017-06-01 18:37:20 +01:00
parent 8454a7194c
commit 8cf5afdd79

View File

@ -84,6 +84,7 @@ end
# Input: (hidden1, hidden2, ...), (x1, x2, ...) # Input: (hidden1, hidden2, ...), (x1, x2, ...)
# Output: (hidden1, hidden2, ...), (y1, y2, ...) # Output: (hidden1, hidden2, ...), (y1, y2, ...)
# TODO: make sure there's a reasonable order for hidden states
function unrollgraph(v::IVertex, n) function unrollgraph(v::IVertex, n)
state, offset, default = collect_state(v) state, offset, default = collect_state(v)