Skip to content

Commit 6d5ddb6

Browse files
committed
Fix deprecated 'to_luma()', use 'to_luma8()' instead
1 parent f9d928f commit 6d5ddb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ mod download {
172172
input0_shape[3] as u32,
173173
FilterType::Nearest,
174174
)
175-
.to_luma();
175+
.to_luma8();
176176

177177
let array = ndarray::Array::from_shape_fn((1, 1, 28, 28), |(_, c, j, i)| {
178178
let pixel = image_buffer.get_pixel(i as u32, j as u32);

0 commit comments

Comments
 (0)