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:
Sheil Kumar 2020-05-29 13:24:22 -07:00 committed by GitHub
parent 6c7eaff676
commit c331d8cffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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