InferenceInput.Params.RecommendedNumThreads Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The number of threads used for intraop parallelism on CPU, must be positive number.
public virtual int RecommendedNumThreads { [Android.Runtime.Register("getRecommendedNumThreads", "()I", "GetGetRecommendedNumThreadsHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getRecommendedNumThreads", "()I", "GetGetRecommendedNumThreadsHandler", ApiSince=35)>]
member this.RecommendedNumThreads : int
Property Value
- Attributes
Remarks
The number of threads used for intraop parallelism on CPU, must be positive number. Adopters can set this field based on model architecture. The actual thread number depends on system resources and other constraints.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.