Commit Graph

32 Commits

Author SHA1 Message Date
Christopher Chalmers
117c3af2e2 Fix the sys test 2020-05-31 09:14:15 +01:00
Basile Henry
a1423605ae Nixify 2020-05-31 09:14:01 +01:00
Basile Henry
97c20e8bf0 Add testdata to repo 2020-05-31 09:13:59 +01:00
Basile Henry
3d179b7c30 Don't release test env 2020-05-18 14:36:49 +02:00
Basile Henry
32977b911d Reorganise modules and setup a test environment 2020-05-17 18:04:53 +02:00
Christopher Chalmers
2076b9e127 First test with rust api 2020-05-17 13:36:07 +01:00
Christopher Chalmers
4f382eb831 Add Memory info contructor and use it 2020-05-17 12:08:41 +01:00
Christopher Chalmers
6ccd602947 Apparently CreateTensorWithDataAsOrtValue wanted len in bytes 2020-05-17 11:02:10 +01:00
Christopher Chalmers
412f76a0a2 Split out stuff in separate Value module 2020-05-17 10:58:32 +01:00
Christopher Chalmers
7a6d937fa9 Add some value ref helpers 2020-05-17 10:43:36 +01:00
Christopher Chalmers
1209a4bd9f Add OrtType instances 2020-05-17 10:12:24 +01:00
Christopher Chalmers
79d3c8f311 Add Value and typed tensor 2020-05-17 10:01:20 +01:00
Christopher Chalmers
6c4b842939 Some fixes 2020-05-17 00:38:23 +01:00
Basile Henry
026a68bab9 Add Allocator type and default constructor 2020-05-16 12:14:44 +02:00
Basile Henry
225008498a Add all SessionOptions functions 2020-05-16 11:56:30 +02:00
Basile Henry
59ffe75729 Fix CString pointer lifetime issues 2020-05-16 11:56:30 +02:00
Basile Henry
7e9c5ae322 Fix handling of status pointer 2020-05-16 11:56:30 +02:00
Basile Henry
4a41e3059d Remove Ort prefixes
That's what namespaces are for
2020-05-16 11:56:30 +02:00
Basile Henry
075801d6d5 Move everything to one crate 2020-05-16 11:56:30 +02:00
Basile Henry
20b3c39bc4 Wrap the main ORT types 2020-05-16 11:56:30 +02:00
Basile Henry
389663113c Change enums to be more Rusty 2020-05-16 11:56:30 +02:00
Basile Henry
415c45efb0 Generate rustified enums 2020-05-16 11:56:30 +02:00
Basile Henry
f3c218c4e8 Don't expose check_status 2020-05-16 11:56:30 +02:00
Basile Henry
fbec037de6 Finish sys test 2020-05-16 11:56:30 +02:00
Basile Henry
5af5395a17 Continue with the ffi test 2020-05-16 11:56:30 +02:00
Basile Henry
3e39c47d55 Add setup against onnxruntime source 2020-05-16 11:56:30 +02:00
Christopher Chalmers
2cd5425279 Whitelist ort bindings 2020-05-16 11:56:30 +02:00
Christopher Chalmers
39221d25e7 Cleanup lib a bit 2020-05-16 11:56:30 +02:00
Christopher Chalmers
c32ef99b45 More standard ort linking 2020-05-16 11:56:29 +02:00
Christopher Chalmers
f351c27ccf Fix test 2020-05-16 11:56:29 +02:00
Basile Henry
40be907b57 Check status in test 2020-05-16 11:56:29 +02:00
Basile Henry
211b869763 Setup rust bindinds 2020-05-16 11:56:29 +02:00