We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7a151 commit 2306b4aCopy full SHA for 2306b4a
onnxruntime/core/providers/openvino/ov_versions/data_ops.cc
@@ -469,15 +469,7 @@ void DataOps::populate_op_mode_supported() {
469
}
470
471
472
- // check for input dimensions
473
const auto& x_arg = node->InputDefs()[0];
474
- auto shape = x_arg->Shape();
475
- if (shape != nullptr) {
476
- // input tensor rank cannot be of one dimension
477
- if (shape->dim_size() == 1 || shape->dim_size() == 4) {
478
- return true;
479
- }
480
481
// x_arg supports only float, int8 and float16 type
482
if ((x_arg->TypeAsProto()->tensor_type().elem_type() ==
483
ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_FLOAT) ||
0 commit comments