Skip to content

Commit

Permalink
fix: in/out dimension problem with onnx model
Browse files Browse the repository at this point in the history
  • Loading branch information
chloeminkyung committed Oct 9, 2023
1 parent ff952b8 commit f18ba04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dozer-sql/expression/src/onnx/udf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pub fn evaluate_onnx_udf(
if i == 0 && d.is_none() {
input_dim_prefix = true;
}
i += 1;
}
if input_shape.is_empty() {
return Err(Onnx(OnnxInvalidInputShapeErr));
Expand All @@ -50,7 +49,6 @@ pub fn evaluate_onnx_udf(
if j == 0 && d.is_none() {
output_dim_prefix = true;
}
j += 1;
}
if output_shape.is_empty() {
return Err(Onnx(OnnxInvalidInputShapeErr));
Expand Down

0 comments on commit f18ba04

Please sign in to comment.