Skip to content

Enable optimisations with Chain #2004

Open
@theabhirath

Description

@theabhirath

In long Chains in Metalhead, it is often the case that there are layers that can be reduced to identity - Dropout(p = 0) is a frequent occurrence, along with some other similar regularisation layers (DropBlock, DropPath). Currently, according to Lux's documentation, there is an option to enable and disable optimisations that can remove these and make the model a little cleaner to go through. Is there a chance something similar can be implemented for Flux?

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