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

Added a way to configure the decompressed file dtype #380

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OscarrrFuentes
Copy link

I was using the MNIST dataset and the original file was a uint8, but the output decompressed file was in float32, so it was much larger.

I've added a way to specify the data type of the decompressed file, a bonus is that by limiting the maximum and minimum values of this image, it also slightly increases performance. This is done by adding c.dtype = "foo" to the config file, where np.foo is a valid data type. If nothing is added then it will work as previously.

… negative differences. Also added functionality to cast the decompressed output to a differemt dtype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant