Skip to content

question int64 #1

@dmitrysarov

Description

@dmitrysarov

hello!
here

indices = np.asarray(indices, dtype=np.int64)

you choose np.int64 precision, but be default for values you choose np.int32
def sparse_tuple_from(self, sequences, dtype=np.int32):

is there any reason to not just choose int32 everywhere?
asking because suppose that we couldn't proceed graphs with int64 tensor's type on GPU

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