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 brief explanation about DDim usage in Majel #2144

Merged
merged 5 commits into from
May 16, 2017

Conversation

JiayiFeng
Copy link
Collaborator

add a brief explanation about DDim usage in Majel

@JiayiFeng JiayiFeng requested review from a user, gangliao and QiJune May 15, 2017 12:21
@JiayiFeng JiayiFeng closed this May 15, 2017
@JiayiFeng JiayiFeng reopened this May 15, 2017
Copy link
Member

@QiJune QiJune left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -93,6 +93,19 @@ typedef boost::variant<

Because `variant` may be thought of as "multi-type, single value", we can utilize it to implement unified interfaces for PaddlePaddle.

`DDim` plays two kinds of roles in Majel. First, it is used to indicate the size of a tensor. For example, we can construct a new `DArray` by following way:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we also explain the difference betwen DDim and Dim, as well as that between DArray and Array?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am writing another doc about Dim and DDim interfaces. The difference will be showed clearly in that doc.

@wangkuiyi wangkuiyi merged commit 26c230d into PaddlePaddle:develop May 16, 2017
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.

4 participants