diff --git a/examples/inspect.rs b/examples/inspect.rs index a99890c..03ad059 100644 --- a/examples/inspect.rs +++ b/examples/inspect.rs @@ -52,7 +52,7 @@ pub fn main() -> anyhow::Result<()> { interpreter.run_session(&session)?; let outputs = interpreter.outputs(&session); outputs.iter().for_each(|x| { - let tensor = x.tensor::().expect("No tensor"); + let tensor = x.tensor::().expect("No tensor"); time!(tensor.wait(ffi::MapType::MAP_TENSOR_READ, true); format!("Waiting for tensor: {}", x.name())); println!("{}: {:?}", x.name(), tensor.shape()); let _ = tensor.create_host_tensor_from_device(true);