We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NeonBackend how to support multi thread inference。 support multi thread parallel in Neon operator,like onnxruntime IntraOpNumThreads; Or Others
NeonBackendModelContext::NeonBackendModelContext(const ModelOptions& modelOptions) : m_IsFastMathEnabled(false), m_NumberOfThreads(0) { if (!modelOptions.empty()) { ParseOptions(modelOptions, "CpuAcc", [&](std::string name, const BackendOptions::Var& value) { if (name == "FastMathEnabled") { m_IsFastMathEnabled |= ParseBool(value, false); } if (name == "NumberOfThreads") { m_NumberOfThreads |= ParseUnsignedInt(value, 0); } }); } } bool NeonBackendModelContext::IsFastMathEnabled() const { return m_IsFastMathEnabled; } unsigned int NeonBackendModelContext::GetNumberOfThreads() const { return m_NumberOfThreads; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NeonBackend how to support multi thread inference。
support multi thread parallel in Neon operator,like onnxruntime IntraOpNumThreads;
Or Others
The text was updated successfully, but these errors were encountered: