Skip to content

Commit

Permalink
Fix highlevel example missing type annotation (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
vilukissa68 authored Sep 17, 2024
1 parent 1dad444 commit 1a070d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hpc/dla-driver/examples/highlevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn conv_test() {
let wgt_tensor: Tensor4<i8> = Tensor4::from_data_buffer(2, 3, 3, 3, wgt, Order4::KCHW).unwrap();
let _dout_tensor: Tensor3<i32> = Tensor3::from_data_buffer(2, 3, 3, dout, Order3::CHW).unwrap();

let mut output =
let mut output: Tensor3<i8> =
dla_driver::layers::conv2d(din_tensor, wgt_tensor, None, None, None, None, None);
output.permute(Order3::CWH);
sprintln!("conv_test: leave");
Expand Down

0 comments on commit 1a070d6

Please sign in to comment.