mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
Update OrtEnv class documentation (#14650)
### Description Tell more about `OrtEnv` class. ### Motivation and Context Need to mention the importance of creating `OrtEnv` first.
This commit is contained in:
parent
50fa151298
commit
6e1008877e
1 changed files with 5 additions and 1 deletions
|
|
@ -44,7 +44,11 @@ namespace Microsoft.ML.OnnxRuntime
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// This class initializes the process-global ONNX Runtime environment instance (OrtEnv)
|
||||
/// This class initializes the process-global ONNX Runtime environment instance (OrtEnv).
|
||||
/// The singleton class OrtEnv contains the process-global ONNX Runtime environment.
|
||||
/// It sets up logging, creates system wide thread-pools (if Thread Pool options are provided)
|
||||
/// and other necessary things for OnnxRuntime to function. Create or access OrtEnv by calling
|
||||
/// the Instance() method. Call this method before doing anything else in your application.
|
||||
/// </summary>
|
||||
public sealed class OrtEnv : SafeHandle
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue