Skip to content

Commit 0a6b05f

Browse files
authored
[doc] Fix typos in csharp/src/Microsoft.ML.OnnxRuntime/ (#23848)
### Description <!-- Describe your changes. --> Fix typos in csharp/src/Microsoft.ML.OnnxRuntime/ ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
1 parent 1ffe793 commit 0a6b05f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

csharp/src/Microsoft.ML.OnnxRuntime/ManagedProjections.shared.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class ManagedTypeProjection
2525
/// </summary>
2626
/// <param name="namedOnnxValue"></param>
2727
/// <param name="metadata"></param>
28-
/// <returns>OrtValye created accoding to the metadata</returns>
28+
/// <returns>OrtValue created according to the metadata</returns>
2929
internal static OrtValue CreateProjection(NamedOnnxValue namedOnnxValue, NodeMetadata metadata)
3030
{
3131
OrtValue result;
@@ -191,4 +191,3 @@ private static OrtValue CreateTensorProjection(NamedOnnxValue node, NodeMetadata
191191
}
192192
}
193193
}
194-

csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.shared.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ internal class NativeLib
847847
/// Creates an instance of OrtSession with provided parameters
848848
/// </summary>
849849
/// <param name="environment">Native OrtEnv instance</param>
850-
/// <param name="modelData">Byte array correspoonding to the model</param>
850+
/// <param name="modelData">Byte array corresponding to the model</param>
851851
/// <param name="modelSize">Size of the model in bytes</param>
852852
/// <param name="sessionOptions">Native SessionOptions instance</param>
853853
/// <param name="prepackedWeightsContainer">Native OrtPrepackedWeightsContainer instance</param>
@@ -1258,7 +1258,7 @@ IntPtr[] outputValues /* An array of output value pointers. Array must be alloca
12581258
/// </summary>
12591259
/// <param name="options">Native SessionOptions instance</param>
12601260
/// <param name="name">Name of the initializer</param>
1261-
/// <param name="ortValue">Native OrtValue instnce</param>
1261+
/// <param name="ortValue">Native OrtValue instance</param>
12621262
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
12631263
public delegate IntPtr /*(OrtStatus*)*/ DOrtAddInitializer(IntPtr /*(OrtSessionOptions*)*/ options,
12641264
byte[] /*(const char*)*/ name,

0 commit comments

Comments
 (0)