| 128 | } |
| 129 | |
| 130 | unsigned int GetNumberOfCacheFiles(const armnn::BackendId& backend) |
| 131 | { |
| 132 | auto const& backendRegistry = armnn::BackendRegistryInstance(); |
| 133 | if (backendRegistry.IsBackendRegistered(backend)) |
| 134 | { |
| 135 | auto factoryFunc = backendRegistry.GetFactory(backend); |
| 136 | auto backendObject = factoryFunc(); |
| 137 | return backendObject->GetNumberOfCacheFiles(); |
| 138 | } |
| 139 | return 0; |
| 140 | } |
| 141 | |
| 142 | bool LayerSupportHandle::IsBackendRegistered() const |
| 143 | { |
nothing calls this directly
no test coverage detected