public struct RecurrentLayer<Cell> : Layer where Cell : RecurrentLayerCell
extension RecurrentLayer: Equatable where Cell: Equatable
extension RecurrentLayer: AdditiveArithmetic where Cell: AdditiveArithmetic
Declaração
public typealias Input = [Cell.TimeStepInput]
Declaração
public typealias Output = [Cell.TimeStepOutput]
Declaração
public var cell: Cell
Declaração
public init(_ cell: @autoclosure () -> Cell)
Declaração
@differentiable(wrt: (self, inputs, initialState) public func callAsFunction( _ inputs: [Cell.TimeStepInput], initialState: Cell.State ) -> [Cell.TimeStepOutput]
Declaração
@differentiable(wrt: (self, inputs, initialState) public func call( _ inputs: [Cell.TimeStepInput], initialState: Cell.State ) -> [Cell.TimeStepOutput]
Declaração
@differentiable public func callAsFunction(_ inputs: [Cell.TimeStepInput]) -> [Cell.TimeStepOutput]
Declaração
@differentiable(wrt: (self, inputs, initialState) public func lastOutput( from inputs: [Cell.TimeStepInput], initialState: Cell.State ) -> Cell.TimeStepOutput
Declaração
@differentiable(wrt: (self, inputs) ) public func lastOutput(from inputs: [Cell.TimeStepInput]) -> Cell.TimeStepOutput