Skip to content

Flux.trainable - Handling trivial return case #39

@dynamic-queries

Description

@dynamic-queries

Issue :
From the example for the FNO, collecting parameters throws an error as such.
image

Potential cause:
In https://github.com/SciML/OperatorLearning.jl/blob/master/src/FourierLayer.jl#L55-L56 and subsequently https://github.com/FluxML/Flux.jl/blob/master/src/utils.jl#L500-L502, there is trivial Bool return that FourierLayer.jl does not handle, therefore throwing an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions