|
25.02
|
The ClBackendModelContext is used to pass in CL specific backend ModelOptions. More...
#include <ClBackendModelContext.hpp>
Public Member Functions | |
| ClBackendModelContext (const ModelOptions &modelOptions) | |
| std::string | GetCachedNetworkFilePath () const |
| bool | IsFastMathEnabled () const |
| bool | SaveCachedNetwork () const |
| int | GetCachedFileDescriptor () const |
Public Member Functions inherited from IBackendModelContext | |
| virtual | ~IBackendModelContext () |
The ClBackendModelContext is used to pass in CL specific backend ModelOptions.
The supported backend ModelOptions are:
Definition at line 28 of file ClBackendModelContext.hpp.
| ClBackendModelContext | ( | const ModelOptions & | modelOptions | ) |
Definition at line 34 of file ClBackendModelContext.cpp.
References armnn::ParseIntBackendOption(), and armnn::ParseOptions().
| int GetCachedFileDescriptor | ( | ) | const |
Definition at line 76 of file ClBackendModelContext.cpp.
| std::string GetCachedNetworkFilePath | ( | ) | const |
Definition at line 61 of file ClBackendModelContext.cpp.
| bool IsFastMathEnabled | ( | ) | const |
Definition at line 66 of file ClBackendModelContext.cpp.
Referenced by ClWorkloadFactory::CreateWorkload(), ClLayerSupport::IsConvolution2dSupported(), ClLayerSupport::IsConvolution3dSupported(), and ClBackend::OptimizeSubgraphView().
| bool SaveCachedNetwork | ( | ) | const |
Definition at line 71 of file ClBackendModelContext.cpp.