Skip to content

Custom PyTree Nodes not Supported #1

@pdcook

Description

@pdcook

Currently, only PyTrees consisting of arbitrary nestings of Dict, Tuple, and List are supported. Strictly speaking, PyTrees can consist of any "container" type, and custom containers, like NamedTuple, can be registered.

Support for these node types should be added to the various methods in tree_util

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