35 : m_CachedNetworkFilePath(
""), m_IsFastMathEnabled(false), m_SaveCachedNetwork(false), m_CachedFileDescriptor(-1)
37 if (!modelOptions.empty())
41 if (name ==
"FastMathEnabled")
43 m_IsFastMathEnabled |= ParseBool(value,
false);
45 if (name ==
"SaveCachedNetwork")
47 m_SaveCachedNetwork |= ParseBool(value,
false);
49 if (name ==
"CachedNetworkFilePath")
51 m_CachedNetworkFilePath = ParseFile(value,
"");
53 if (name ==
"CachedFileDescriptor")
ClBackendModelContext(const ModelOptions &modelOptions)
bool SaveCachedNetwork() const
int GetCachedFileDescriptor() const
bool IsFastMathEnabled() const
std::string GetCachedNetworkFilePath() const