Searched refs:true_data_shape (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/ |
| H A D | cnpy.h | 119 std::vector<size_t> true_data_shape; // if appending, the shape of existing + new data variable 129 parse_npy_header(fp, word_size, true_data_shape, fortran_order, typeName); 137 if (true_data_shape.size() != shape.size()) { 139 assert(true_data_shape.size() != shape.size()); 143 if (shape[i] != true_data_shape[i]) { 145 assert(shape[i] == true_data_shape[i]); 148 true_data_shape[0] += shape[0]; 151 true_data_shape = shape; 154 std::vector<char> header = create_npy_header<T>(true_data_shape);
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/ |
| H A D | cnpy.h | 119 std::vector<size_t> true_data_shape; // if appending, the shape of existing + new data variable 129 parse_npy_header(fp, word_size, true_data_shape, fortran_order, typeName); 137 if (true_data_shape.size() != shape.size()) { 139 assert(true_data_shape.size() != shape.size()); 143 if (shape[i] != true_data_shape[i]) { 145 assert(shape[i] == true_data_shape[i]); 148 true_data_shape[0] += shape[0]; 151 true_data_shape = shape; 154 std::vector<char> header = create_npy_header<T>(true_data_shape);
|