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.
Tensor::new_from_instance
Result
1 parent 62ae613 commit 04a83cbCopy full SHA for 04a83cb
crates/openvino/src/request.rs
@@ -38,7 +38,7 @@ impl InferRequest {
38
cstr!(name),
39
std::ptr::addr_of_mut!(tensor)
40
))?;
41
- Ok(Tensor::new_from_instance(tensor).unwrap())
+ Ok(Tensor::new_from_instance(tensor))
42
}
43
44
/// Execute the inference request.
0 commit comments