Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
onnxruntime_v14
Commits
a144865d
Commit
a144865d
authored
Jul 25, 2023
by
gaoqiong
Browse files
update v1.14.0
parent
cf1acfd2
Changes
409
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
695 additions
and
0 deletions
+695
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/.gitignore
...t/Microsoft.AI.MachineLearning.Tests.DotNet5_0/.gitignore
+4
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj
...et5_0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj
+24
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj.pp
..._0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj.pp
+24
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/NuGet.config.pp
...rosoft.AI.MachineLearning.Tests.DotNet5_0/NuGet.config.pp
+10
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Program.cs
...t/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Program.cs
+70
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/.gitignore
...rp/test/Microsoft.AI.MachineLearning.Tests.Uwp/.gitignore
+5
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml
+7
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml.cs
...p/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml.cs
+100
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/LockScreenLogo.scale-200.png
...ineLearning.Tests.Uwp/Assets/LockScreenLogo.scale-200.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/SplashScreen.scale-200.png
...chineLearning.Tests.Uwp/Assets/SplashScreen.scale-200.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square150x150Logo.scale-200.png
...Learning.Tests.Uwp/Assets/Square150x150Logo.scale-200.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square44x44Logo.scale-200.png
...neLearning.Tests.Uwp/Assets/Square44x44Logo.scale-200.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
...Assets/Square44x44Logo.targetsize-24_altform-unplated.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/StoreLogo.png
...crosoft.AI.MachineLearning.Tests.Uwp/Assets/StoreLogo.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Wide310x150Logo.scale-200.png
...neLearning.Tests.Uwp/Assets/Wide310x150Logo.scale-200.png
+0
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml
...test/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml
+14
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml.cs
...t/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml.cs
+32
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj
...g.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj
+177
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj.pp
...ests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj.pp
+177
-0
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.sln
...ning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.sln
+51
-0
No files found.
Too many changes to show.
To preserve performance only
409 of 409+
files are displayed.
Plain diff
Email patch
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/.gitignore
0 → 100755
View file @
a144865d
# build, distribute, and bins (+ python proto bindings)
Debug
x64
packages
\ No newline at end of file
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj
0 → 100755
View file @
a144865d
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AI.MachineLearning" Version="1.4.0-dev-20200728-0957-6cb93ccb5" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\testdata\squeezenet.onnx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Visible>true</Visible>
</None>
<None Include="..\..\..\winml\test\collateral\images\kitten_224.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Visible>true</Visible>
</None>
</ItemGroup>
</Project>
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Microsoft.AI.MachineLearning.Tests.DotNet5_0.csproj.pp
0 → 100755
View file @
a144865d
<
Project
Sdk
=
"Microsoft.NET.Sdk"
>
<
PropertyGroup
>
<
OutputType
>
Exe
</
OutputType
>
<
TargetFramework
>
net5
.
0
-
windows10
.
0.17763
.
0
</
TargetFramework
>
<
Platforms
>
AnyCPU
;
x64
</
Platforms
>
</
PropertyGroup
>
<
ItemGroup
>
<
PackageReference
Include
=
"Microsoft.AI.MachineLearning"
Version
=
"[PackageVersion]"
/>
</
ItemGroup
>
<
ItemGroup
>
<
None
Include
=
"..
\.
.
\t
estdata
\s
queezenet.onnx"
>
<
CopyToOutputDirectory
>
Always
</
CopyToOutputDirectory
>
<
Visible
>
true
</
Visible
>
</
None
>
<
None
Include
=
"..
\.
.
\.
.
\w
inml
\t
est
\c
ollateral
\i
mages
\k
itten_224.png"
>
<
CopyToOutputDirectory
>
Always
</
CopyToOutputDirectory
>
<
Visible
>
true
</
Visible
>
</
None
>
</
ItemGroup
>
</
Project
>
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/NuGet.config.pp
0 → 100755
View file @
a144865d
<
?
xml
version
=
"1.0"
encoding
=
"utf-8"
?
>
<
configuration
>
<
solution
>
<
add
key
=
"disableSourceControlIntegration"
value
=
"true"
/>
</
solution
>
<
packageSources
>
<
add
key
=
"NuGet Official"
value
=
"https://api.nuget.org/v3/index.json"
/>
<
add
key
=
"BuildArtifacts"
value
=
"[BuildPackageSource]"
/>
</
packageSources
>
</
configuration
>
\ No newline at end of file
csharp/test/Microsoft.AI.MachineLearning.Tests.DotNet5_0/Program.cs
0 → 100755
View file @
a144865d
using
System
;
namespace
ConsoleApp17
{
class
Program
{
static
void
PerformInference
(
Windows
.
Media
.
VideoFrame
frame
)
{
Console
.
WriteLine
(
"Load squeezenet.onnx."
);
using
(
var
model
=
Microsoft
.
AI
.
MachineLearning
.
LearningModel
.
LoadFromFilePath
(
"squeezenet.onnx"
))
{
Console
.
WriteLine
(
"Create LearningModelSession."
);
using
(
var
session
=
new
Microsoft
.
AI
.
MachineLearning
.
LearningModelSession
(
model
))
{
Console
.
WriteLine
(
"Create LearningModelBinding."
);
var
binding
=
new
Microsoft
.
AI
.
MachineLearning
.
LearningModelBinding
(
session
);
Console
.
WriteLine
(
"Bind data_0."
);
binding
.
Bind
(
"data_0"
,
frame
);
Console
.
WriteLine
(
"Evaluate."
);
var
results
=
session
.
Evaluate
(
binding
,
""
);
}
Console
.
WriteLine
(
"Success!\n"
);
}
}
static
void
Main
(
string
[]
args
)
{
Console
.
WriteLine
(
"Load kitten_224.png as StorageFile."
);
var
name
=
AppDomain
.
CurrentDomain
.
BaseDirectory
+
"kitten_224.png"
;
var
getFileFromPathTask
=
Windows
.
Storage
.
StorageFile
.
GetFileFromPathAsync
(
name
);
getFileFromPathTask
.
AsTask
()
.
ContinueWith
<
Windows
.
Storage
.
Streams
.
IRandomAccessStreamWithContentType
>(
(
task
)
=>
{
var
image
=
task
.
Result
;
Console
.
WriteLine
(
"Load StorageFile into Stream."
);
var
stream_task
=
image
.
OpenReadAsync
();
return
stream_task
.
AsTask
().
Result
;
})
.
ContinueWith
<
Windows
.
Graphics
.
Imaging
.
BitmapDecoder
>(
(
task
)
=>
{
using
(
var
stream
=
task
.
Result
)
{
Console
.
WriteLine
(
"Create SoftwareBitmap from decoded Stream."
);
var
decoder_task
=
Windows
.
Graphics
.
Imaging
.
BitmapDecoder
.
CreateAsync
(
stream
);
return
decoder_task
.
AsTask
().
Result
;
}
})
.
ContinueWith
<
Windows
.
Graphics
.
Imaging
.
SoftwareBitmap
>(
(
task
)
=>
{
var
decoder
=
task
.
Result
;
var
software_bitmap_task
=
decoder
.
GetSoftwareBitmapAsync
();
return
software_bitmap_task
.
AsTask
().
Result
;
})
.
ContinueWith
(
(
task
)
=>
{
using
(
var
software_bitmap
=
task
.
Result
)
{
Console
.
WriteLine
(
"Create VideoFrame."
);
var
frame
=
Windows
.
Media
.
VideoFrame
.
CreateWithSoftwareBitmap
(
software_bitmap
);
PerformInference
(
frame
);
}
})
.
Wait
();
}
}
}
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/.gitignore
0 → 100755
View file @
a144865d
# build, distribute, and bins (+ python proto bindings)
Debug
x64
packages
AppPackages
\ No newline at end of file
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml
0 → 100755
View file @
a144865d
<Application
x:Class="Microsoft.AI.MachineLearning.Tests.Uwp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Microsoft.AI.MachineLearning.Tests.Uwp">
</Application>
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/App.xaml.cs
0 → 100755
View file @
a144865d
using
System
;
using
System.Collections.Generic
;
using
System.IO
;
using
System.Linq
;
using
System.Runtime.InteropServices.WindowsRuntime
;
using
Windows.ApplicationModel
;
using
Windows.ApplicationModel.Activation
;
using
Windows.Foundation
;
using
Windows.Foundation.Collections
;
using
Windows.UI.Xaml
;
using
Windows.UI.Xaml.Controls
;
using
Windows.UI.Xaml.Controls.Primitives
;
using
Windows.UI.Xaml.Data
;
using
Windows.UI.Xaml.Input
;
using
Windows.UI.Xaml.Media
;
using
Windows.UI.Xaml.Navigation
;
namespace
Microsoft.AI.MachineLearning.Tests.Uwp
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed
partial
class
App
:
Application
{
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public
App
()
{
this
.
InitializeComponent
();
this
.
Suspending
+=
OnSuspending
;
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected
override
void
OnLaunched
(
LaunchActivatedEventArgs
e
)
{
Frame
rootFrame
=
Window
.
Current
.
Content
as
Frame
;
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if
(
rootFrame
==
null
)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame
=
new
Frame
();
rootFrame
.
NavigationFailed
+=
OnNavigationFailed
;
if
(
e
.
PreviousExecutionState
==
ApplicationExecutionState
.
Terminated
)
{
//TODO: Load state from previously suspended application
}
// Place the frame in the current Window
Window
.
Current
.
Content
=
rootFrame
;
}
if
(
e
.
PrelaunchActivated
==
false
)
{
if
(
rootFrame
.
Content
==
null
)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame
.
Navigate
(
typeof
(
MainPage
),
e
.
Arguments
);
}
// Ensure the current window is active
Window
.
Current
.
Activate
();
}
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void
OnNavigationFailed
(
object
sender
,
NavigationFailedEventArgs
e
)
{
throw
new
Exception
(
"Failed to load Page "
+
e
.
SourcePageType
.
FullName
);
}
/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private
void
OnSuspending
(
object
sender
,
SuspendingEventArgs
e
)
{
var
deferral
=
e
.
SuspendingOperation
.
GetDeferral
();
//TODO: Save application state and stop any background activity
deferral
.
Complete
();
}
}
}
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/LockScreenLogo.scale-200.png
0 → 100755
View file @
a144865d
1.4 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/SplashScreen.scale-200.png
0 → 100755
View file @
a144865d
7.52 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square150x150Logo.scale-200.png
0 → 100755
View file @
a144865d
2.87 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square44x44Logo.scale-200.png
0 → 100755
View file @
a144865d
1.61 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
0 → 100755
View file @
a144865d
1.23 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/StoreLogo.png
0 → 100755
View file @
a144865d
1.42 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Assets/Wide310x150Logo.scale-200.png
0 → 100755
View file @
a144865d
3.13 KB
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml
0 → 100755
View file @
a144865d
<Page
x:Class="Microsoft.AI.MachineLearning.Tests.Uwp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Microsoft.AI.MachineLearning.Tests.Uwp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
</Grid>
</Page>
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/MainPage.xaml.cs
0 → 100755
View file @
a144865d
using
System
;
using
System.Collections.Generic
;
using
System.IO
;
using
System.Linq
;
using
System.Runtime.InteropServices.WindowsRuntime
;
using
Windows.Foundation
;
using
Windows.Foundation.Collections
;
using
Windows.UI.Xaml
;
using
Windows.UI.Xaml.Controls
;
using
Windows.UI.Xaml.Controls.Primitives
;
using
Windows.UI.Xaml.Data
;
using
Windows.UI.Xaml.Input
;
using
Windows.UI.Xaml.Media
;
using
Windows.UI.Xaml.Navigation
;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace
Microsoft.AI.MachineLearning.Tests.Uwp
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public
sealed
partial
class
MainPage
:
Page
{
public
MainPage
()
{
this
.
InitializeComponent
();
var
model
=
Windows
.
ApplicationModel
.
Package
.
Current
.
InstalledPath
+
"\\squeezenet.onnx"
;
Microsoft
.
AI
.
MachineLearning
.
LearningModel
.
LoadFromFilePath
(
model
);
}
}
}
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj
0 → 100755
View file @
a144865d
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
x86
</Platform>
<ProjectGuid>
{F8060B61-2BBC-4516-8C4E-AB969766B609}
</ProjectGuid>
<OutputType>
AppContainerExe
</OutputType>
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Microsoft.AI.MachineLearning.Tests.Uwp
</RootNamespace>
<AssemblyName>
Microsoft.AI.MachineLearning.Tests.Uwp
</AssemblyName>
<DefaultLanguage>
en-US
</DefaultLanguage>
<TargetPlatformIdentifier>
UAP
</TargetPlatformIdentifier>
<TargetPlatformVersion
Condition=
" '$(TargetPlatformVersion)' == '' "
>
10.0.22000.0
</TargetPlatformVersion>
<TargetPlatformMinVersion>
10.0.17763.0
</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>
14
</MinimumVisualStudioVersion>
<FileAlignment>
512
</FileAlignment>
<ProjectTypeGuids>
{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
</ProjectTypeGuids>
<WindowsXamlEnableOverview>
true
</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>
false
</AppxPackageSigningEnabled>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Debug|x86'"
>
<DebugSymbols>
true
</DebugSymbols>
<OutputPath>
bin\x86\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<NoWarn>
;2008
</NoWarn>
<DebugType>
full
</DebugType>
<PlatformTarget>
x86
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Release|x86'"
>
<OutputPath>
bin\x86\Release\
</OutputPath>
<DefineConstants>
TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<Optimize>
true
</Optimize>
<NoWarn>
;2008
</NoWarn>
<DebugType>
pdbonly
</DebugType>
<PlatformTarget>
x86
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
<UseDotNetNativeToolchain>
true
</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Debug|ARM'"
>
<DebugSymbols>
true
</DebugSymbols>
<OutputPath>
bin\ARM\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<NoWarn>
;2008
</NoWarn>
<DebugType>
full
</DebugType>
<PlatformTarget>
ARM
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Release|ARM'"
>
<OutputPath>
bin\ARM\Release\
</OutputPath>
<DefineConstants>
TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<Optimize>
true
</Optimize>
<NoWarn>
;2008
</NoWarn>
<DebugType>
pdbonly
</DebugType>
<PlatformTarget>
ARM
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
<UseDotNetNativeToolchain>
true
</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Debug|ARM64'"
>
<DebugSymbols>
true
</DebugSymbols>
<OutputPath>
bin\ARM64\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<NoWarn>
;2008
</NoWarn>
<DebugType>
full
</DebugType>
<PlatformTarget>
ARM64
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
<UseDotNetNativeToolchain>
true
</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Release|ARM64'"
>
<OutputPath>
bin\ARM64\Release\
</OutputPath>
<DefineConstants>
TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<Optimize>
true
</Optimize>
<NoWarn>
;2008
</NoWarn>
<DebugType>
pdbonly
</DebugType>
<PlatformTarget>
ARM64
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
<UseDotNetNativeToolchain>
true
</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Debug|x64'"
>
<DebugSymbols>
true
</DebugSymbols>
<OutputPath>
bin\x64\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<NoWarn>
;2008
</NoWarn>
<DebugType>
full
</DebugType>
<PlatformTarget>
x64
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)' == 'Release|x64'"
>
<OutputPath>
bin\x64\Release\
</OutputPath>
<DefineConstants>
TRACE;NETFX_CORE;WINDOWS_UWP
</DefineConstants>
<Optimize>
true
</Optimize>
<NoWarn>
;2008
</NoWarn>
<DebugType>
pdbonly
</DebugType>
<PlatformTarget>
x64
</PlatformTarget>
<UseVSHostingProcess>
false
</UseVSHostingProcess>
<ErrorReport>
prompt
</ErrorReport>
<Prefer32Bit>
true
</Prefer32Bit>
<UseDotNetNativeToolchain>
true
</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup>
<RestoreProjectStyle>
PackageReference
</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<Compile
Include=
"App.xaml.cs"
>
<DependentUpon>
App.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"MainPage.xaml.cs"
>
<DependentUpon>
MainPage.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<AppxManifest
Include=
"Package.appxmanifest"
>
<SubType>
Designer
</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content
Include=
"Properties\Default.rd.xml"
/>
<Content
Include=
"Assets\LockScreenLogo.scale-200.png"
/>
<Content
Include=
"Assets\SplashScreen.scale-200.png"
/>
<Content
Include=
"Assets\Square150x150Logo.scale-200.png"
/>
<Content
Include=
"Assets\Square44x44Logo.scale-200.png"
/>
<Content
Include=
"Assets\Square44x44Logo.targetsize-24_altform-unplated.png"
/>
<Content
Include=
"Assets\StoreLogo.png"
/>
<Content
Include=
"Assets\Wide310x150Logo.scale-200.png"
/>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition
Include=
"App.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</ApplicationDefinition>
<Page
Include=
"MainPage.xaml"
>
<Generator>
MSBuild:Compile
</Generator>
<SubType>
Designer
</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<PackageReference
Include=
"Microsoft.AI.MachineLearning"
>
<Version>
1.9.1
</Version>
</PackageReference>
<PackageReference
Include=
"Microsoft.NETCore.UniversalWindowsPlatform"
>
<Version>
6.2.12
</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None
Include=
"..\..\testdata\squeezenet.onnx"
>
<CopyToOutputDirectory>
Always
</CopyToOutputDirectory>
<Visible>
true
</Visible>
</None>
</ItemGroup>
<PropertyGroup
Condition=
" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "
>
<VisualStudioVersion>
14.0
</VisualStudioVersion>
</PropertyGroup>
<Import
Project=
"$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.csproj.pp
0 → 100755
View file @
a144865d
<
?
xml
version
=
"1.0"
encoding
=
"utf-8"
?
>
<
Project
ToolsVersion
=
"15.0"
DefaultTargets
=
"Build"
xmlns
=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<
Import
Project
=
"
$
(MSBuildExtensionsPath)
\$
(MSBuildToolsVersion)
\M
icrosoft.Common.props"
Condition
=
"Exists('
$
(MSBuildExtensionsPath)
\$
(MSBuildToolsVersion)
\M
icrosoft.Common.props')"
/>
<
PropertyGroup
>
<
Configuration
Condition
=
" '
$
(Configuration)' == '' "
>
Debug
</
Configuration
>
<
Platform
Condition
=
" '
$
(Platform)' == '' "
>
x86
</
Platform
>
<
ProjectGuid
>
{
F8060B61
-
2
BBC
-
4516
-
8
C4E
-
AB969766B609
}
</
ProjectGuid
>
<
OutputType
>
AppContainerExe
</
OutputType
>
<
AppDesignerFolder
>
Properties
</
AppDesignerFolder
>
<
RootNamespace
>
Microsoft
.
AI
.
MachineLearning
.
Tests
.
Uwp
</
RootNamespace
>
<
AssemblyName
>
Microsoft
.
AI
.
MachineLearning
.
Tests
.
Uwp
</
AssemblyName
>
<
DefaultLanguage
>
en
-
US
</
DefaultLanguage
>
<
TargetPlatformIdentifier
>
UAP
</
TargetPlatformIdentifier
>
<
TargetPlatformVersion
Condition
=
" '
$
(TargetPlatformVersion)' == '' "
>
10.0
.
22000.0
</
TargetPlatformVersion
>
<
TargetPlatformMinVersion
>
10.0
.
17763.0
</
TargetPlatformMinVersion
>
<
MinimumVisualStudioVersion
>
14
</
MinimumVisualStudioVersion
>
<
FileAlignment
>
512
</
FileAlignment
>
<
ProjectTypeGuids
>
{
A5A43C5B
-
DE2A
-
4
C0C
-
9213
-
0
A381AF9435A
};{
FAE04EC0
-
301
F
-
11
D3
-
BF4B
-
00
C04F79EFBC
}
</
ProjectTypeGuids
>
<
WindowsXamlEnableOverview
>
true
</
WindowsXamlEnableOverview
>
<
AppxPackageSigningEnabled
>
false
</
AppxPackageSigningEnabled
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Debug|x86'"
>
<
DebugSymbols
>
true
</
DebugSymbols
>
<
OutputPath
>
bin
\
x86
\
Debug
\
</
OutputPath
>
<
DefineConstants
>
DEBUG
;
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
full
</
DebugType
>
<
PlatformTarget
>
x86
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Release|x86'"
>
<
OutputPath
>
bin
\
x86
\
Release
\
</
OutputPath
>
<
DefineConstants
>
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
Optimize
>
true
</
Optimize
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
pdbonly
</
DebugType
>
<
PlatformTarget
>
x86
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
<
UseDotNetNativeToolchain
>
true
</
UseDotNetNativeToolchain
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Debug|ARM'"
>
<
DebugSymbols
>
true
</
DebugSymbols
>
<
OutputPath
>
bin
\
ARM
\
Debug
\
</
OutputPath
>
<
DefineConstants
>
DEBUG
;
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
full
</
DebugType
>
<
PlatformTarget
>
ARM
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Release|ARM'"
>
<
OutputPath
>
bin
\
ARM
\
Release
\
</
OutputPath
>
<
DefineConstants
>
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
Optimize
>
true
</
Optimize
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
pdbonly
</
DebugType
>
<
PlatformTarget
>
ARM
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
<
UseDotNetNativeToolchain
>
true
</
UseDotNetNativeToolchain
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Debug|ARM64'"
>
<
DebugSymbols
>
true
</
DebugSymbols
>
<
OutputPath
>
bin
\
ARM64
\
Debug
\
</
OutputPath
>
<
DefineConstants
>
DEBUG
;
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
full
</
DebugType
>
<
PlatformTarget
>
ARM64
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
<
UseDotNetNativeToolchain
>
true
</
UseDotNetNativeToolchain
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Release|ARM64'"
>
<
OutputPath
>
bin
\
ARM64
\
Release
\
</
OutputPath
>
<
DefineConstants
>
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
Optimize
>
true
</
Optimize
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
pdbonly
</
DebugType
>
<
PlatformTarget
>
ARM64
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
<
UseDotNetNativeToolchain
>
true
</
UseDotNetNativeToolchain
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Debug|x64'"
>
<
DebugSymbols
>
true
</
DebugSymbols
>
<
OutputPath
>
bin
\
x64
\
Debug
\
</
OutputPath
>
<
DefineConstants
>
DEBUG
;
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
full
</
DebugType
>
<
PlatformTarget
>
x64
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
</
PropertyGroup
>
<
PropertyGroup
Condition
=
"'
$
(Configuration)|
$
(Platform)' == 'Release|x64'"
>
<
OutputPath
>
bin
\
x64
\
Release
\
</
OutputPath
>
<
DefineConstants
>
TRACE
;
NETFX_CORE
;
WINDOWS_UWP
</
DefineConstants
>
<
Optimize
>
true
</
Optimize
>
<
NoWarn
>
;
2008
</
NoWarn
>
<
DebugType
>
pdbonly
</
DebugType
>
<
PlatformTarget
>
x64
</
PlatformTarget
>
<
UseVSHostingProcess
>
false
</
UseVSHostingProcess
>
<
ErrorReport
>
prompt
</
ErrorReport
>
<
Prefer32Bit
>
true
</
Prefer32Bit
>
<
UseDotNetNativeToolchain
>
true
</
UseDotNetNativeToolchain
>
</
PropertyGroup
>
<
PropertyGroup
>
<
RestoreProjectStyle
>
PackageReference
</
RestoreProjectStyle
>
</
PropertyGroup
>
<
ItemGroup
>
<
Compile
Include
=
"App.xaml.cs"
>
<
DependentUpon
>
App
.
xaml
</
DependentUpon
>
</
Compile
>
<
Compile
Include
=
"MainPage.xaml.cs"
>
<
DependentUpon
>
MainPage
.
xaml
</
DependentUpon
>
</
Compile
>
<
Compile
Include
=
"Properties
\A
ssemblyInfo.cs"
/>
</
ItemGroup
>
<
ItemGroup
>
<
AppxManifest
Include
=
"Package.appxmanifest"
>
<
SubType
>
Designer
</
SubType
>
</
AppxManifest
>
</
ItemGroup
>
<
ItemGroup
>
<
Content
Include
=
"Properties
\D
efault.rd.xml"
/>
<
Content
Include
=
"Assets
\L
ockScreenLogo.scale-200.png"
/>
<
Content
Include
=
"Assets
\S
plashScreen.scale-200.png"
/>
<
Content
Include
=
"Assets
\S
quare150x150Logo.scale-200.png"
/>
<
Content
Include
=
"Assets
\S
quare44x44Logo.scale-200.png"
/>
<
Content
Include
=
"Assets
\S
quare44x44Logo.targetsize-24_altform-unplated.png"
/>
<
Content
Include
=
"Assets
\S
toreLogo.png"
/>
<
Content
Include
=
"Assets
\W
ide310x150Logo.scale-200.png"
/>
</
ItemGroup
>
<
ItemGroup
>
<
ApplicationDefinition
Include
=
"App.xaml"
>
<
Generator
>
MSBuild
:
Compile
</
Generator
>
<
SubType
>
Designer
</
SubType
>
</
ApplicationDefinition
>
<
Page
Include
=
"MainPage.xaml"
>
<
Generator
>
MSBuild
:
Compile
</
Generator
>
<
SubType
>
Designer
</
SubType
>
</
Page
>
</
ItemGroup
>
<
ItemGroup
>
<
PackageReference
Include
=
"Microsoft.AI.MachineLearning"
>
<
Version
>
[
PackageVersion
]
</
Version
>
</
PackageReference
>
<
PackageReference
Include
=
"Microsoft.NETCore.UniversalWindowsPlatform"
>
<
Version
>
6.2
.
12
</
Version
>
</
PackageReference
>
</
ItemGroup
>
<
ItemGroup
>
<
None
Include
=
"..
\.
.
\t
estdata
\s
queezenet.onnx"
>
<
CopyToOutputDirectory
>
Always
</
CopyToOutputDirectory
>
<
Visible
>
true
</
Visible
>
</
None
>
</
ItemGroup
>
<
PropertyGroup
Condition
=
" '
$
(VisualStudioVersion)' == '' or '
$
(VisualStudioVersion)' < '14.0' "
>
<
VisualStudioVersion
>
14.0
</
VisualStudioVersion
>
</
PropertyGroup
>
<
Import
Project
=
"
$
(MSBuildExtensionsPath)
\M
icrosoft
\W
indowsXaml
\v
$
(VisualStudioVersion)
\M
icrosoft.Windows.UI.Xaml.CSharp.targets"
/>
<!--
To
modify
your
build
process
,
add
your
task
inside
one
of
the
targets
below
and
uncomment
it
.
Other
similar
extension
points
exist
,
see
Microsoft
.
Common
.
targets
.
<
Target
Name
=
"BeforeBuild"
>
</
Target
>
<
Target
Name
=
"AfterBuild"
>
</
Target
>
-
->
</
Project
>
\ No newline at end of file
csharp/test/Microsoft.AI.MachineLearning.Tests.Uwp/Microsoft.AI.MachineLearning.Tests.Uwp.sln
0 → 100755
View file @
a144865d
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31911.196
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.MachineLearning.Tests.Uwp", "Microsoft.AI.MachineLearning.Tests.Uwp.csproj", "{F8060B61-2BBC-4516-8C4E-AB969766B609}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM.ActiveCfg = Debug|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM.Build.0 = Debug|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM.Deploy.0 = Debug|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM64.ActiveCfg = Debug|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM64.Build.0 = Debug|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|ARM64.Deploy.0 = Debug|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x64.ActiveCfg = Debug|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x64.Build.0 = Debug|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x64.Deploy.0 = Debug|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x86.ActiveCfg = Debug|x86
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x86.Build.0 = Debug|x86
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Debug|x86.Deploy.0 = Debug|x86
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM.ActiveCfg = Release|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM.Build.0 = Release|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM.Deploy.0 = Release|ARM
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM64.ActiveCfg = Release|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM64.Build.0 = Release|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|ARM64.Deploy.0 = Release|ARM64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x64.ActiveCfg = Release|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x64.Build.0 = Release|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x64.Deploy.0 = Release|x64
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x86.ActiveCfg = Release|x86
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x86.Build.0 = Release|x86
{F8060B61-2BBC-4516-8C4E-AB969766B609}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {61039EFE-27CB-40D3-9CAB-BDE4B2ED9A94}
EndGlobalSection
EndGlobal
Prev
1
…
13
14
15
16
17
18
19
20
21
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment