Skip to content

namedtuple vs dict #2

@spozdn

Description

@spozdn

torch jit script warns about potential bugs with dict output. Maybe it is worth migrating to namedtuple or to adaptive behavior - if input is dict then output is also dict, and if input is namedtuple then output is namedtuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions