{
CHECK_ENGINE_INSTANCE(mBackendHandle);
+ if (property.layer_names.empty() || property.tensor_infos.empty()) {
+ LOGE("layer_names or tensor_infos vector of a given property is empty.");
+ return INFERENCE_ENGINE_ERROR_INVALID_PARAMETER;
+ }
+
int ret = CheckLayerProperty(property);
if (ret != INFERENCE_ENGINE_ERROR_NONE) {
LOGE("Given input layer property is invalid.");
{
CHECK_ENGINE_INSTANCE(mBackendHandle);
+ if (property.layer_names.empty()) {
+ LOGE("layer_names vector of a given property is empty.");
+ return INFERENCE_ENGINE_ERROR_INVALID_PARAMETER;
+ }
+
int ret = CheckLayerProperty(property);
if (ret != INFERENCE_ENGINE_ERROR_NONE) {
LOGE("Given output layer property is invalid.");