Created
October 5, 2020 18:20
-
-
Save athas/b6d96299b5f01acee958f79bc9d436fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import futhark_data | |
import numpy as np | |
import sys | |
buf = sys.stdin.buffer.read() | |
arr = np.frombuffer(buf, dtype=np.uint8) | |
futhark_data.dump(arr, sys.stdout.buffer, binary=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment