Skip to content

Commit

Permalink
Ensure OpenVINO libraries are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
abrown committed Sep 19, 2024
1 parent cff85a4 commit 955677c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/openvino/src/tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use openvino_sys::{
/// ```rust
/// # use openvino::{Shape, Tensor, ElementType};
/// # fn main() -> anyhow::Result<()> {
/// # openvino_sys::library::load().unwrap();
/// let data = [1u8; 1000];
/// let shape = Shape::new(&[10, 10, 10])?;
/// let mut tensor = Tensor::new(ElementType::U8, &shape)?;
Expand Down

0 comments on commit 955677c

Please sign in to comment.