Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Xcode editor suggests wrong stubs for Layer protocol  #890

Open
@ematejska

Description

@ematejska

If you make a struct with inheritance of the Layer protocol and have not added the function:

public func call() -> Tensor<Float>

the Xcode editor suggest as stubs:

public typealias Input = <#type#>

public typealias Output = <#type#>

This is not correct and confusing for new users.. The right stub should be

public func call() -> Tensor<Float>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions