Skip to content

Commit

Permalink
why ignore the dt ?
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Nov 6, 2023
1 parent 9adf0ce commit 0a20b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnx/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?)?;
}
}
}
Expand Down

0 comments on commit 0a20b55

Please sign in to comment.