We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f16ed commit 8a035d7Copy full SHA for 8a035d7
onnxruntime/tests/integration_tests.rs
@@ -103,7 +103,8 @@ mod download {
103
// and iterate on resulting probabilities, creating an index to later access labels.
104
let mut probabilities: Vec<(usize, f32)> = outputs[0]
105
.softmax(ndarray::Axis(1))
106
- .into_iter()
+ .iter()
107
+ .copied()
108
.enumerate()
109
.collect::<Vec<_>>();
110
// Sort probabilities so highest is at beginning of vector.
@@ -191,7 +192,8 @@ mod download {
191
192
193
194
195
196
197
198
199
0 commit comments