From 574c7caf3ac4c6b0c1004b1fd9e2b020c19d441b Mon Sep 17 00:00:00 2001 From: Yifan Li <109183385+yf711@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:29:06 -0800 Subject: [PATCH] [TensorRT EP] Clear constrain of trt plugin with different input type (#19044) ### Description Add heterogeneous support to skip this check for TRT plugin which has different input tensor types ### Motivation and Context --- .../tensorrt/tensorrt_execution_provider_custom_ops.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_custom_ops.h b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_custom_ops.h index 35bd38d818..b19d9ab0f6 100644 --- a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_custom_ops.h +++ b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_custom_ops.h @@ -56,6 +56,14 @@ struct TensorRTCustomOp : Ort::CustomOpBase