24.08
|
The NeonBackendModelContext is used to pass in Neon specific backend ModelOptions. More...
#include <NeonBackendModelContext.hpp>
Public Member Functions | |
NeonBackendModelContext (const ModelOptions &modelOptions) | |
bool | IsFastMathEnabled () const |
unsigned int | GetNumberOfThreads () const |
Public Member Functions inherited from IBackendModelContext | |
virtual | ~IBackendModelContext () |
The NeonBackendModelContext is used to pass in Neon specific backend ModelOptions.
The supported backend ModelOptions are:
Definition at line 19 of file NeonBackendModelContext.hpp.
NeonBackendModelContext | ( | const ModelOptions & | modelOptions | ) |
unsigned int GetNumberOfThreads | ( | ) | const |
Definition at line 58 of file NeonBackendModelContext.cpp.
bool IsFastMathEnabled | ( | ) | const |
Definition at line 53 of file NeonBackendModelContext.cpp.
Referenced by NeonWorkloadFactory::CreateWorkload(), NeonLayerSupport::IsBatchMatMulSupported(), NeonLayerSupport::IsConvolution2dSupported(), and NeonLayerSupport::IsConvolution3dSupported().