Livello Ricorrente

Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.
public struct RecurrentLayer<Cell> : Layer where Cell : RecurrentLayerCell
extension RecurrentLayer: Equatable where Cell: Equatable
extension RecurrentLayer: AdditiveArithmetic where Cell: AdditiveArithmetic
  • Dichiarazione

    public typealias Input = [Cell.TimeStepInput]
  • Dichiarazione

    public typealias Output = [Cell.TimeStepOutput]
  • Dichiarazione

    public var cell: Cell
  • Dichiarazione

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

    @differentiable(wrt: (self, inputs, initialState)
    public func callAsFunction(
      _ inputs: [Cell.TimeStepInput],
      initialState: Cell.State
    ) -> [Cell.TimeStepOutput]
  • Dichiarazione

    @differentiable(wrt: (self, inputs, initialState)
    public func call(
      _ inputs: [Cell.TimeStepInput],
      initialState: Cell.State
    ) -> [Cell.TimeStepOutput]
  • Dichiarazione

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

    @differentiable(wrt: (self, inputs, initialState)
    public func lastOutput(
      from inputs: [Cell.TimeStepInput],
      initialState: Cell.State
    ) -> Cell.TimeStepOutput
  • Dichiarazione

    @differentiable(wrt: (self, inputs)
    ) public func lastOutput(from inputs: [Cell.TimeStepInput]) -> Cell.TimeStepOutput