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:
Dmitri Smirnov 2023-02-13 16:40:44 -08:00 committed by GitHub
parent 50fa151298
commit 6e1008877e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
{