Closed mricherzhagen closed 8 years ago
Our Dataset Testcases are not enough. This Testcase shows that Dataset.load_equal_chunks reads the data in the wrong format.
Dataset.load_equal_chunks
af::print("data", Dataset.data()) results in:
af::print("data", Dataset.data())
[3 5 1 1] 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4
with this File:
GROUP "/" { DATASET "testset" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 5, 3 ) / ( 5, 3 ) } DATA { (0,0): 0, 0, 0, (1,0): 1, 1, 1, (2,0): 2, 2, 2, (3,0): 3, 3, 3, (4,0): 4, 4, 4 } } }
Our Dataset Testcases are not enough. This Testcase shows that
Dataset.load_equal_chunks
reads the data in the wrong format.af::print("data", Dataset.data())
results in:with this File: