Skip to content

Decide how to handle str vs bytes dtype input #21

@onishchenkod

Description

@onishchenkod

So far default dtype to fir qnets on is string,
however bytestrings offer better memory efficiency that proved to be crucial in recent applications.

When qnet instance is fit on bytestrings, its outputs for qsampling etc. are in bytestrings as well, so this matters

I see two options:
1 - make qnets support both strings and bytestrings simultaneously.
2 - specify the accepted dtype at the creation of qnet instance and make it only accept the selected dtype input.

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