A layer that sequentially composes two other layers.
-
Declaration
public var layer1: Layer1
-
Declaration
public var layer2: Layer2
-
Declaration
public init(_ layer1: Layer1, _ layer2: Layer2)
-
Declaration
@differentiable public func callAsFunction(_ input: Layer1.Input) -> Layer2.Output
-
Declaration
public init(@LayerBuilder layers: () -> `Self`)
-
Declaration
@differentiable public func callAsFunction(_ input: Layer1.Input) -> Layer2.Output