| 56 | } |
| 57 | |
| 58 | FileLoader::~FileLoader() { |
| 59 | if (nullptr != mFile) { |
| 60 | fclose(mFile); |
| 61 | } |
| 62 | for (auto iter : mBlocks) { |
| 63 | MNNMemoryFreeAlign(iter.second); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | bool FileLoader::read() { |
| 68 | _init(); |
nothing calls this directly
no test coverage detected