mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-28 22:56:32 +00:00
allow trailing slash in directory (#11001)
* allow trailing slash in directory * fix lint
This commit is contained in:
parent
5868413caf
commit
d1bdd2cd94
1 changed files with 7 additions and 1 deletions
|
|
@ -591,7 +591,13 @@ def parse_arguments():
|
|||
"--enable_cuda_profiling", action='store_true', help="enable cuda kernel profiling, \
|
||||
cupti library must be added to PATH beforehand.")
|
||||
|
||||
return parser.parse_args()
|
||||
args = parser.parse_args()
|
||||
if args.android_sdk_path:
|
||||
args.android_sdk_path = os.path.normpath(args.android_sdk_path)
|
||||
if args.android_ndk_path:
|
||||
args.android_ndk_path = os.path.normpath(args.android_ndk_path)
|
||||
|
||||
return args
|
||||
|
||||
|
||||
def is_reduced_ops_build(args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue