onnxruntime/onnxruntime/test
G. Ramalingam e361e3f138
Fix bug in handling of variadics in function schema creation (#15409)
### Description

The code handling variadic parameters when creating a schema for a
function has a minor bug.
The checking logic was nested inside a conditional, instead of being
outside.
Fix the logic, and add a test-case. This bugs manifests itself when the
first parameter in the
variadic list is not an input/output of the enclosing function.

### Motivation and Context

Fixes https://github.com/microsoft/onnxruntime/issues/15404

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
2023-04-12 14:32:24 -07:00
..
api_tests_without_env
common softmax perf improvement pr1 - add more softmax related test (#15176) 2023-04-11 17:02:40 +08:00
contrib_ops [ROCm] add FP16 support for FusedConv Op (#15443) 2023-04-12 12:19:14 +08:00
custom_op_registration Add ability to register custom ops by specifying a function name (#14177) 2023-01-12 15:11:34 +10:00
debug_node_inputs_outputs Bug Fix - WASM build break (#13699) 2022-11-20 23:30:31 -08:00
framework Fix bug in handling of variadics in function schema creation (#15409) 2023-04-12 14:32:24 -07:00
fuzzing Remove previously deprecated API (#12935) 2022-09-14 10:58:03 -07:00
global_thread_pools [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00
ir to work with onnx 1.13 rc, implement ver 18 reduce and optioanl ops, … (#13765) 2023-01-09 10:26:16 -08:00
logging_apis Add logging APIs for custom operators (#14416) 2023-03-17 15:05:28 -07:00
mlas Fuse 'Add' operator into FP16 Conv (#15213) 2023-04-07 09:51:03 -07:00
onnx Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
opaque_api
optimizer [QNN EP]Fix issue in LeakyRelu Opbuilder for HTP backend. (#15356) 2023-04-07 09:15:07 -07:00
perftest refactor 2023-03-15 13:23:56 +08:00
platform Tune test case for hybrid cpu (#14204) 2023-01-10 12:54:02 -08:00
proto
providers [TensorRT EP] support TensorRT 8.6-EA (#15299) 2023-04-12 11:34:59 -07:00
python Reuse QDQConv for ConvTranspose to generate the QDQ model (#15385) 2023-04-06 15:07:44 -07:00
quantization remove device_id parameter out of ExecutionProvider::GetAllocator() (#14580) 2023-02-13 10:01:07 -08:00
shared_lib Update the post-merge pipeline (#14965) 2023-03-29 13:12:07 -07:00
testdata Upstream reshape of merging batch/sequence (#15023) 2023-04-05 18:51:07 +08:00
unittest_main
util Automatically enable tunable op usage for production models (#15156) 2023-04-06 13:52:47 +08:00
wasm [js/web] allow unittest (onnxruntime_test_all) to run in browser (#14820) 2023-02-24 16:45:33 -08:00
win_getopt
xctest Add ability to register custom ops by specifying a function name (#14177) 2023-01-12 15:11:34 +10:00