mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
Fix the flake8 warning in generate_nuspec_for_native_nuget.py (#4089)
This commit is contained in:
parent
a715d55bcc
commit
ff16ca54e1
1 changed files with 2 additions and 2 deletions
|
|
@ -167,6 +167,7 @@ def generate_files(list, args):
|
|||
'" target="build\\native\\include" />')
|
||||
|
||||
if includes_winml:
|
||||
mlop_path = 'onnxruntime\\core\\providers\\dml\\dmlexecutionprovider\\inc\\mloperatorauthor.h'
|
||||
# Add microsoft.ai.machinelearning headers
|
||||
files_list.append('<file src=' + '"' + os.path.join(args.ort_build_path, args.build_config,
|
||||
'microsoft.ai.machinelearning.h') +
|
||||
|
|
@ -183,8 +184,7 @@ def generate_files(list, args):
|
|||
'" 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') +
|
||||
os.path.join(args.sources_path, mlop_path) +
|
||||
'" target="build\\native\\include" />')
|
||||
|
||||
# Process runtimes
|
||||
|
|
|
|||
Loading…
Reference in a new issue