From 0a20b55d1a54aace9898407795216f5f1b50c60c Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Mon, 6 Nov 2023 11:43:48 +0100 Subject: [PATCH] why ignore the dt ? --- onnx/src/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnx/src/model.rs b/onnx/src/model.rs index 15986e10aa..694b1c10a3 100644 --- a/onnx/src/model.rs +++ b/onnx/src/model.rs @@ -198,7 +198,7 @@ impl<'a> ParsingContext<'a> { for info in &graph.value_info { if let Some(TypeProto { value: Some(Value::TensorType(t)), .. }) = &info.r#type { if let Some(outlet) = outlets_by_name.get(&info.name) { - model.set_outlet_fact(*outlet, translate_inference_fact(&ctx, t)?.without_datum_type())?; + model.set_outlet_fact(*outlet, translate_inference_fact(&ctx, t)?)?; } } }