public struct Function<Input, Output> : ParameterlessLayer where Input : Differentiable, Output : Differentiable
Özel bir türevlenebilir işlevi kapsayan bir katman.
beyan
public typealias TangentVector = EmptyTangentVector
beyan
public typealias Body = @differentiable (Input) -> Output
beyan
@noDerivative public let body: Body
beyan
public init(_ body: @escaping Body)
beyan
@differentiable public func callAsFunction(_ input: Input) -> Output