Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add with syntax #47

Merged

Conversation

Superjomn
Copy link
Contributor

No description provided.

return StorageReader.cur_mode

def __exit__(self, type, value, traceback):
pass
Copy link
Member

Choose a reason for hiding this comment

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

看起来with是每次取出一个来用,本身不做任何事情?

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 作为tag的前缀

jacquesqiao
jacquesqiao previously approved these changes Jan 2, 2018
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

daming-lu
daming-lu previously approved these changes Jan 2, 2018
@Superjomn Superjomn merged commit 3c02b8d into PaddlePaddle:develop Jan 2, 2018
@Superjomn Superjomn deleted the feature/refactor_python_sdk branch January 2, 2018 03:57
jacquesqiao pushed a commit to jacquesqiao/VisualDL that referenced this pull request Jan 12, 2018
jacquesqiao pushed a commit to jacquesqiao/VisualDL that referenced this pull request Jan 13, 2018
jacquesqiao pushed a commit to jacquesqiao/VisualDL that referenced this pull request Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants