mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-22 22:01:08 +00:00
WinML custom operator header is missing from nuget package. (#4083)
* publish mloperatorauthor.h in the nuget * build dmlep into arm/arm64 builds * update to not use --use_dml everywhere, but enable custom ops everywhere * always download directml nuget in winml builds * always build with dml * dont build dml for arm Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
This commit is contained in:
parent
6c7eaff676
commit
c331d8cffc
1 changed files with 5 additions and 0 deletions
|
|
@ -181,6 +181,11 @@ def generate_files(list, args):
|
|||
files_list.append('<file src=' + '"' + os.path.join(args.ort_build_path, args.build_config,
|
||||
'microsoft.ai.machinelearning.winmd') +
|
||||
'" target="lib\\uap10.0\\Microsoft.AI.MachineLearning.winmd" />')
|
||||
# Add custom operator headers
|
||||
files_list.append('<file src=' + '"' +
|
||||
os.path.join(args.sources_path,
|
||||
'onnxruntime\\core\\providers\\dml\\dmlexecutionprovider\\inc\\mloperatorauthor.h') +
|
||||
'" target="build\\native\\include" />')
|
||||
|
||||
# Process runtimes
|
||||
# Process onnxruntime import lib, dll, and pdb
|
||||
|
|
|
|||
Loading…
Reference in a new issue