Skip to content

:nothing initialised in FastChain #593

@MatisPatel

Description

@MatisPatel

Hey I'm having some issues running the base examples from the docs. The problem seems to be FastChain initialising some parameters as :nothing. MWE:

using DiffEqFlux
U = FastChain(
    FastDense(2,5),   
    FastDense(2,5))
@show intitial_params(U)

# initial_params(U) = Union{Nothing, Float32}...

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