Skip to content

Type parameters of converters and neural networks need correct variance #780

@lars-reimann

Description

@lars-reimann

Describe the bug

The type parameters of converters and neural networks are all invariant. They must be co-/contravariant, however.

To Reproduce

Check their code.

Expected behavior

Add variance.

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions