Add testdata to repo
This commit is contained in:
parent
3d179b7c30
commit
97c20e8bf0
@ -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)?;
|
||||
|
@ -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
BIN
testdata/matmul_1.onnx
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user