-
Notifications
You must be signed in to change notification settings - Fork 279
Open
Description
// printf("bottom name %s\n", bottom_name);
// layer->bottoms[j] = new Blob<float>(bottom_name);
std::map<std::string, Blob<float> *>::iterator map_iter = blob_map.find(bottom_name);
if (( map_iter == blob_map.end()) && (layer->type.compare("Input") != 0))
{
LOGE("Topology error: bottom blob %s of layer %s type %s not found in map.", bottom_name, layer_name, layer_type);
return -300;
}
在解析网络配置文件时,配置文件中blob在blob_map中进行查找,如果找不到就返回,对于新的bottom blob不是应该新创建吗,如果直接返回的话,能完成网络的解析吗?
Metadata
Metadata
Assignees
Labels
No labels