Searched refs:layerMap (Results 1 – 2 of 2) sorted by relevance
58 std::unordered_map<int32_t, Layer*> layerMap; in generateLayerList() local62 layerMap.reserve(layersProto.layers_size()); in generateLayerList()66 layerMap[layerList.back().id] = &layerList.back(); in generateLayerList()71 updateChildrenAndRelative(layersProto.layers(i), layerMap); in generateLayerList()174 std::unordered_map<int32_t, Layer*>& layerMap) { in updateChildrenAndRelative() argument175 auto currLayer = layerMap[layerProto.id()]; in updateChildrenAndRelative()178 if (layerMap.count(layerProto.children(i)) > 0) { in updateChildrenAndRelative()179 currLayer->children.push_back(layerMap[layerProto.children(i)]); in updateChildrenAndRelative()184 if (layerMap.count(layerProto.relatives(i)) > 0) { in updateChildrenAndRelative()185 currLayer->relatives.push_back(layerMap[layerProto.relatives(i)]); in updateChildrenAndRelative()[all …]
143 std::unordered_map<int32_t, Layer*>& layerMap);