Skip to content

Instantly share code, notes, and snippets.

@Ziaeemehr
Created January 1, 2020 16:09
Show Gist options
  • Save Ziaeemehr/c28abe5fdc86a1cc07889671bbf574b7 to your computer and use it in GitHub Desktop.
Save Ziaeemehr/c28abe5fdc86a1cc07889671bbf574b7 to your computer and use it in GitHub Desktop.
import numpy as np
x = np.fromfile("X.bin", dtype=float, count=-1)
# dtype: float for double,
# np.uint32 for integer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment