Skip to content

Commit

Permalink
Fixed reorg layer is [reorg3d], old reorg layer is [reorg]
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAB committed May 20, 2019
1 parent ae3ce1b commit b9ea49a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ LAYER_TYPE string_to_layer_type(char * type)
|| strcmp(type, "[connected]")==0) return CONNECTED;
if (strcmp(type, "[max]")==0
|| strcmp(type, "[maxpool]")==0) return MAXPOOL;
if (strcmp(type, "[reorg]")==0) return REORG;
if (strcmp(type, "[reorg_old]") == 0) return REORG_OLD;
if (strcmp(type, "[reorg3d]")==0) return REORG;
if (strcmp(type, "[reorg]") == 0) return REORG_OLD;
if (strcmp(type, "[avg]")==0
|| strcmp(type, "[avgpool]")==0) return AVGPOOL;
if (strcmp(type, "[dropout]")==0) return DROPOUT;
Expand Down

0 comments on commit b9ea49a

Please sign in to comment.