mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-19 21:32:23 +00:00
there was a merge conflict in onnxruntime/core/providers/dml/OperatorAuthorHelper/Common.h that required manual merging. Related work items: #36867798
21 lines
No EOL
509 B
C#
21 lines
No EOL
509 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
using System;
|
|
using Microsoft.ML.OnnxRuntime.InferenceSample;
|
|
|
|
namespace CSharpUsage
|
|
{
|
|
class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
Console.WriteLine("Using API");
|
|
using (var inferenceSampleApi = new InferenceSampleApi())
|
|
{
|
|
inferenceSampleApi.Execute();
|
|
}
|
|
Console.WriteLine("Done");
|
|
}
|
|
}
|
|
} |