Add testdata to repo

This commit is contained in:
Basile Henry 2020-05-30 20:22:50 +01:00
parent 3d179b7c30
commit 97c20e8bf0
3 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ mod tests {
let so = SessionOptions::new()?;
let model_path = "../onnxruntime/test/testdata/matmul_1.onnx";
let model_path = "testdata/matmul_1.onnx";
let session = Session::new(&env, model_path, &so)?;
let in_name = session.input_name(0)?;
let out_name = session.output_name(0)?;

View File

@ -48,7 +48,7 @@ pub(crate) mod tests {
raw_session_options
};
let model_path = CString::new("../onnxruntime/test/testdata/matmul_1.onnx").unwrap();
let model_path = CString::new("testdata/matmul_1.onnx").unwrap();
let session: *mut Session = {
let create_session = api.CreateSession.unwrap();

BIN
testdata/matmul_1.onnx vendored Normal file

Binary file not shown.