Skip to content

loadparam #47

@ganchunsheng

Description

@ganchunsheng
// 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions