Skip to content

parallel_apply fails when input is a dict #1809

@kundan2510

Description

@kundan2510

https://github.com/pytorch/pytorch/blob/master/torch/nn/parallel/parallel_apply.py#L22

Is this a compulsion to have input to module to be of type variable or nested list of variables? In one of my use cases, I wanted it to have a dict as input.

Please feel free to close the issue if you want to restrict input to module not to include dict.

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