Network Wrappers
Two types of networks are currently implemented: FeedbackChain
s and FeedbackTree
s. For a comparison, see Controlling Information Flow: Chains vs Trees
FeedbackChains
FeedbackChain{T<:Tuple}
Tuple-like structure similar to a Flux.Chain with support for Splitter
s and Merger
s.
(c::FeedbackChain)(h, x)
Apply a FeedbackChain
to input x
with hidden state h
. h
should take the form of a dictionary mapping Splitter
names to states.
FeedbackTrees
FeedbackNets.FeedbackTrees.FeedbackTree
— Method.(c::FeedbackTree)(h, x)
Apply a FeedbackTree
to input x
with hidden state h
. h
should take the form of a dictionary mapping Splitter
names to states.