public struct RNN<Cell> : Layer where Cell : RNNCell
  • Declaration

    public typealias Input = [Cell.TimeStepInput]
  • Declaration

    public typealias Output = [Cell.TimeStepOutput]
  • Declaration

    public var cell: Cell
  • Declaration

    public init(_ cell: @autoclosure () -> Cell)
  • Declaration

    @differentiable
    public func callAsFunction(
        _ input: [Cell.TimeStepInput],
        initialState: Cell.State
    ) -> [Cell.TimeStepOutput]
  • Declaration

    @differentiable
    public func call(
        _ input: [Cell.TimeStepInput],
        initialState: Cell.State
    ) -> [Cell.TimeStepOutput]
  • Declaration

    @differentiable
    public func callAsFunction(_ inputs: [Cell.TimeStepInput]) -> [Cell.TimeStepOutput]