Skip to content

DOC: from_array's use of tokenize #2930

Open

Description

@jakirkham

Would be good to document from_array's use of tokenize and what that means in terms of calls to __dask_tokenize__ and normalize_token. In particular how do these influence the name used in graph construction.

Activity

  1. ncclementi commented on Sep 13, 2021

    @ncclementi
    Member

    @jakirkham checking-in here, would you say this issue was addressed with the note added here 0793e12 or this is still not documented enough?

  2. jakirkham commented on Sep 13, 2021

    @jakirkham
    MemberAuthor

    Not really since that PR is just showing how the name can be changed. The issue is really ask to document what happens when the name is unspecified or has a default value.

    Edit: Put another way if I have some array-like object that I would like to pass to from_array so I can use it with Dask, how does Dask decide to construct a name for that object and how might implementing __dask_tokenize__ or similar influence that process?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions