-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Remove flag use_mkldnn_wgt #3548
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
Conversation
luotao1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 我用v1_api_demo/quick_start测过,是可以的。
| // After run some iters, the mkldnn weight has been stored in dnnLayer | ||
| // and we can also get the mkldnn weight paramter header format | ||
| // Weight param should always be index 0 (and bias index 1). | ||
| // TODO(TJ): should also considerate mean and var format when batchnorm ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- iters-iterations
- 349行header format后面加标点,parameter拼错
- 350行:Note that weight parameter(打全) XXX
- considerate->consider ,前者是形容词
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done
paddle/parameter/Parameter.h
Outdated
|
|
||
| typedef enum { | ||
| PARAM_FORMAT_ORIGINAL = 0, // the paddle original basic format | ||
| PARAM_FORMAT_MKLDNN_OI, // the mkldnn format oi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oi是其中一种mkldnn的格式吧。这里能给个链接么,或者给个详细点的说明。
不然大家会认为mkldnn就一种格式,可以说明下有很多种格式,oi只是其中一种。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,done
paddle/parameter/Parameter.h
Outdated
| }; | ||
|
|
||
| /** | ||
| * @brief Is the header supported |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
259行注释不全,文件头支持什么?
另外结束时请加标点,下面几处brief的注释一样。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done.
luotao1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
resolve #3409