| 353 | } |
| 354 | |
| 355 | int LITE_get_device_id(const LiteNetwork network, int* device_id) { |
| 356 | LITE_CAPI_BEGIN(); |
| 357 | LITE_ASSERT(network, "The network pass to LITE api is null"); |
| 358 | LITE_ASSERT(device_id, "The device_id pass to LITE api is null"); |
| 359 | *device_id = static_cast<lite::Network*>(network)->get_device_id(); |
| 360 | LITE_CAPI_END(); |
| 361 | } |
| 362 | |
| 363 | int LITE_set_stream_id(LiteNetwork network, int stream_id) { |
| 364 | LITE_CAPI_BEGIN(); |
nothing calls this directly
no test coverage detected