Skip to content

support argument unpacking #15

Description

@dwf

Like hyperopt.pyll's o_len.

It's a violation of namespace separation to pass it as a kwarg to partial/PartialPlus/etc. My preferred syntax would be one (possibly involving getitem on some magic object) that keeps output_length and any other metadata parameters in their own separate box from the partial's kwargs. I think this is doable with some care.

For the sake of not cluttering the graph too much, just add an attribute on a Node. This also lets as_partialplus more easily annotate known quantities.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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