Skip to content

Commit 47254be

Browse files
committed
Re-export ndarray so downstream can use it without adding it as dependency
1 parent b24b4cd commit 47254be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

onnxruntime/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ pub mod tensor;
132132
pub use error::{OrtApiError, OrtError, Result};
133133
use sys::OnnxEnumInt;
134134

135+
// Re-export ndarray as it's part of the public API anyway
136+
pub use ndarray;
137+
135138
lazy_static! {
136139
// static ref G_ORT: Arc<Mutex<AtomicPtr<sys::OrtApi>>> =
137140
// Arc::new(Mutex::new(AtomicPtr::new(unsafe {

0 commit comments

Comments
 (0)