Searched refs:uncompr_bytes (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/ |
| H A D | cnpy.cpp | 246 cnpy::NpyArray load_the_npz_array(FILE* fp, uint32_t compr_bytes, uint32_t uncompr_bytes) in load_the_npz_array() argument 249 std::vector<unsigned char> buffer_uncompr(uncompr_bytes); in load_the_npz_array() 267 d_stream.avail_out = uncompr_bytes; in load_the_npz_array() 282 size_t offset = uncompr_bytes - array.num_bytes(); in load_the_npz_array() 329 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load() local 334 arrays[varname] = load_the_npz_array(fp, compr_bytes, uncompr_bytes); in npz_load() 373 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load() local 376 …= (compr_method == 0) ? load_the_npy_file(fp) : load_the_npz_array(fp, compr_bytes, uncompr_bytes); in npz_load()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/ |
| H A D | cnpy.cpp | 246 cnpy::NpyArray load_the_npz_array(FILE* fp, uint32_t compr_bytes, uint32_t uncompr_bytes) in load_the_npz_array() argument 249 std::vector<unsigned char> buffer_uncompr(uncompr_bytes); in load_the_npz_array() 267 d_stream.avail_out = uncompr_bytes; in load_the_npz_array() 282 size_t offset = uncompr_bytes - array.num_bytes(); in load_the_npz_array() 329 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load() local 334 arrays[varname] = load_the_npz_array(fp, compr_bytes, uncompr_bytes); in npz_load() 373 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load() local 376 …= (compr_method == 0) ? load_the_npy_file(fp) : load_the_npz_array(fp, compr_bytes, uncompr_bytes); in npz_load()
|