Skip to content

Commit

Permalink
Fix compilation errors in tests
Browse files Browse the repository at this point in the history
See rust-ndarray/ndarray#1051. I think these changes will fix the errors, but I haven't tested them.
  • Loading branch information
jturner314 authored Aug 2, 2021
1 parent 5249646 commit 63f16ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions onnxruntime/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ mod download {
let mut probabilities: Vec<(usize, f32)> = outputs[0]
.softmax(ndarray::Axis(1))
.into_iter()
.copied()
.enumerate()
.collect::<Vec<_>>();
// Sort probabilities so highest is at beginning of vector.
Expand Down Expand Up @@ -193,7 +192,6 @@ mod download {
let mut probabilities: Vec<(usize, f32)> = outputs[0]
.softmax(ndarray::Axis(1))
.into_iter()
.copied()
.enumerate()
.collect::<Vec<_>>();

Expand Down

0 comments on commit 63f16ed

Please sign in to comment.