onnxruntime/include/onnxruntime/core
Dudeldu 3d63d8d4f1
Extend C++ API for Map/Sequence Type Info (#3517) (#4781)
* Extend C++ API for Map/Sequence Type Info (#3517)

Expose functionality to view type information about sequences/maps
to C++ API.

- Add functions
    - `TypeInfo::GetSequenceTypeInfo`
    - `SequenceTypeInfo::GetSequenceElementType`
    - `TypeInfo::GetMapTypeInfo`
    - `MapTypeInfo::GetMapValueType`
    - `MapTypeInfo::GetMapKeyType`
- Add structs
    - `SequenceTypeInfo`
    - `MapTypeInfo`

Co-authored-by: Dudeldu <mustermann.informatik@gmail.com>
Co-authored-by: Jonas-Heinrich <Jonas@JonasHeinrich.com>

* Extend tests to cover new type info functionality for sequences and maps

 - two new test case in test_nontensor_types for maps and sequences

Co-authored-by: Jonas-Heinrich <Jonas@JonasHeinrich.com>
2020-08-25 12:03:23 -07:00
..
common Add kernel def hash logic for minimal build (#4891) 2020-08-23 14:39:07 +10:00
framework Add kernel def hash logic for minimal build (#4891) 2020-08-23 14:39:07 +10:00
graph Fix build break from removing custom ORT onnx protobuf (#4904) 2020-08-25 18:10:42 +10:00
optimizer Allow multiple sessions to share an allocator, optimize constant folding memory usage, expose arena configs. (#4813) 2020-08-22 10:03:17 -07:00
platform Honor allow_spinning at barrier at end of parallel sections (#4767) 2020-08-13 09:40:40 +01:00
providers Convert TensorRT provider into a shared library (#4721) 2020-08-10 21:17:16 -07:00
session Extend C++ API for Map/Sequence Type Info (#3517) (#4781) 2020-08-25 12:03:23 -07:00