Added ie_core_read_network_from_memory to the C API ie_bridge. (#674)
authoremmanuelattia-philips <66060489+emmanuelattia-philips@users.noreply.github.com>
Sat, 30 May 2020 23:25:39 +0000 (01:25 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2020 23:25:39 +0000 (02:25 +0300)
commitbad5bb30a3dccd5ae72641a808a713704685b5f7
tree660a7827a4011ed3b52a241f84b31f157c08689d
parent3d42871523ad43779c0742db23980d226ccfac97
Added ie_core_read_network_from_memory to the C API ie_bridge. (#674)

* * Added ie_core_read_network_from_memory to the C ie_bridge.

* Added size argument for xml_content, fixed const correctness of the weight_blob, fixed unit test

* * Removed debug message

* Changed variables names from model_xxx to weights_xxx to be more consistent with the argument name of the tested function.

* Added a description for xml_content_size in ie_core_read_network_from_memory.

* * xml_content is now passed as uint8_t
* reading function factorized in the unit-test
inference-engine/ie_bridges/c/include/c_api/ie_c_api.h
inference-engine/ie_bridges/c/src/ie_c_api.cpp
inference-engine/ie_bridges/c/tests/ie_c_api_test.cpp