Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal class ManagedTypeProjection
/// </summary>
/// <param name="namedOnnxValue"></param>
/// <param name="metadata"></param>
/// <returns>OrtValye created accoding to the metadata</returns>
/// <returns>OrtValue created according to the metadata</returns>
internal static OrtValue CreateProjection(NamedOnnxValue namedOnnxValue, NodeMetadata metadata)
{
OrtValue result;
Expand Down Expand Up @@ -191,4 +191,3 @@ private static OrtValue CreateTensorProjection(NamedOnnxValue node, NodeMetadata
}
}
}

4 changes: 2 additions & 2 deletions csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ internal class NativeLib
/// Creates an instance of OrtSession with provided parameters
/// </summary>
/// <param name="environment">Native OrtEnv instance</param>
/// <param name="modelData">Byte array correspoonding to the model</param>
/// <param name="modelData">Byte array corresponding to the model</param>
/// <param name="modelSize">Size of the model in bytes</param>
/// <param name="sessionOptions">Native SessionOptions instance</param>
/// <param name="prepackedWeightsContainer">Native OrtPrepackedWeightsContainer instance</param>
Expand Down Expand Up @@ -1258,7 +1258,7 @@ IntPtr[] outputValues /* An array of output value pointers. Array must be alloca
/// </summary>
/// <param name="options">Native SessionOptions instance</param>
/// <param name="name">Name of the initializer</param>
/// <param name="ortValue">Native OrtValue instnce</param>
/// <param name="ortValue">Native OrtValue instance</param>
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
public delegate IntPtr /*(OrtStatus*)*/ DOrtAddInitializer(IntPtr /*(OrtSessionOptions*)*/ options,
byte[] /*(const char*)*/ name,
Expand Down
Loading