For NPU backend don't support load from buffer , use onSetCachePath
| 339 | } |
| 340 | // For NPU backend don't support load from buffer , use onSetCachePath |
| 341 | virtual bool onSetCachePath(const char* path, int mode) { |
| 342 | return false; |
| 343 | } |
| 344 | |
| 345 | // If buffer is not nullptr, try copy cache, else delete cache |
| 346 | virtual bool onSetCache(const void* buffer, size_t size) { |
no outgoing calls
no test coverage detected