Skip to content

Conversation

@Superjomn
Copy link
Contributor

@Superjomn Superjomn commented Jan 14, 2018

fixs: #128

@Superjomn Superjomn requested a review from jacquesqiao January 14, 2018 07:21
bool LogReader::TagMatchMode(const std::string& tag, const std::string& mode) {
if (tag.size() <= mode.size()) return false;
return tag.substr(0, mode.size()) == mode;
return tag.substr(0, mode.size()) == mode &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tag mode caption之间是什么关系?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • mode 类似 train/test/valid
  • tag 就是组件的标志(key)
  • caption 是组件的名字,不设置则=tag
Copy link
Member

@jacquesqiao jacquesqiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the question does not block merge

@Superjomn Superjomn merged commit 346b64e into PaddlePaddle:develop Jan 14, 2018
@Superjomn Superjomn deleted the bugfix/mode_prefix_match branch January 14, 2018 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants