File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
core/providers/openvino/backends
test/testdata/custom_op_openvino_wrapper_library Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ void BasicBackend::PopulateConfigValue(ov::AnyMap& device_config) {
167167 if (session_context_.precision .find (" ACCURACY" ) != std::string::npos &&
168168 session_context_.device_type .find (" GPU" ) != std::string::npos) {
169169 if (session_context_.OpenVINO_Version .at (0 ) >= 2024 ) {
170- device_config.emplace (ov::hint::inference_precision (ov::element::undefined ));
170+ device_config.emplace (ov::hint::inference_precision (ov::element::dynamic ));
171171 device_config.emplace (ov::hint::execution_mode (ov::hint::ExecutionMode::ACCURACY));
172172 } else {
173173 if (!subgraph_context_.model_precision .empty ())
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ static ov::element::Type ConvertONNXToOVType(ONNXTensorElementDataType onnx_type
3535 case ONNX_TENSOR_ELEMENT_DATA_TYPE_BFLOAT16:
3636 return ov::element::bf16 ;
3737 default :
38- return ov::element::undefined ;
38+ return ov::element::dynamic ;
3939 }
4040}
4141
You can’t perform that action at this time.
0 commit comments