Skip to content

Error in single spike encoding?#483

@ElisaNguyen

Description

@ElisaNguyen

Hello! I get the following error when trying to use bindsnet.encoding.encodings.single:
TypeError: 'device' is an invalid keyword argument for zeros()
I think the error is that np.zeros is used instead of torch.zeros, so device is not a keyword :)

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