This commit is contained in:
skdhg committed 2023-08-07 07:34:49 +05:45
1 parent 157bee33a6
commit 2a91636351
400 files changed
+634 -7

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/python
from __future__ import print_function
import numpy as np
import h5py
import sys
data = np.loadtxt(sys.argv[1], dtype='float32')
h5f = h5py.File(sys.argv[2], 'w');
h5f.create_dataset('data', data=data)
h5f.close()