nntrainer icon indicating copy to clipboard operation
nntrainer copied to clipboard

Renamed layer which is get by getLayer() could not be getting by getLayer()

Open songgot opened this issue 1 year ago • 1 comments

If layer name is changed which is get by getLayer(), We can not get the layer ussing getLayer() with the changed name.

below is sudo code. and it is working well.

model->getLayer("inputlayer", &l) ; 
l->setPropety("changed_name");
model->summarize(summary); 

but, below is not working, I think it's because it didn't update node_map[node->getName()].

model->getLayer("changed_name", &l2);

so, old name is working.

model->getLayer("inputlayer", &12);

songgot avatar Aug 05 '22 06:08 songgot

:octocat: cibot: Thank you for posting issue #1976. The person in charge will reply soon.

taos-ci avatar Aug 05 '22 06:08 taos-ci