Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed size binary encoding #15

Closed
eddyxu opened this issue Jul 8, 2022 · 0 comments · Fixed by #129
Closed

Fixed size binary encoding #15

eddyxu opened this issue Jul 8, 2022 · 0 comments · Fixed by #129
Assignees
Labels
c++ C++ issues python

Comments

@eddyxu
Copy link
Contributor

eddyxu commented Jul 8, 2022

Problem Statement

Fixed size binary encoding is very useful when the users know that each blob has the same size, i.e., storing prepared Tensors. It allows fast point query without lookups on the offsets.

Additionally, since the data is aligned on the disk/cloud storage, it allows the "dataset loader" to read a batch of tensors (either in BCHW or BCWH form) without further transposing them in memory again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ C++ issues python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant