Skip to content

Do we need Optional in the FlexibleSequential? #30

Open
@jlperla

Description

@jlperla

Is the Optional for https://github.com/HighDimensionalEconLab/econ_layers/blob/main/econ_layers/layers.py#L64 and https://github.com/HighDimensionalEconLab/econ_layers/blob/main/econ_layers/layers.py#L66 is necessary for it to work? Typically we would only want the Optional if None also makes sense (e.g. the rescaling_layer needs that, for example, in https://github.com/HighDimensionalEconLab/econ_layers/blob/main/econ_layers/layers.py#L68 Not an important point, but just something to check at some point when you next update the repo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions