Skip to content

Conversation

@xingfeng01
Copy link
Contributor

@xingfeng01 xingfeng01 commented Jul 16, 2021

PR types

New features

PR changes

OPs

Describe

This PR add some primitives api related files. Those files are almost empty for the moment, but will be filled later.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@xingfeng01 xingfeng01 changed the title add module api files add primitives api files Jul 26, 2021
Copy link
Contributor

Choose a reason for hiding this comment

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

是不是不用每个文件都叫xxx_primitives.h?可直接是compute.h这样?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

我觉得加上好一点,op 相关文件的命名都有 _op,另外 "compute.h" 可能会有重名,不是太好

Copy link
Contributor

Choose a reason for hiding this comment

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

namespace operators依然需要吧?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok 加上好点

Copy link
Contributor

Choose a reason for hiding this comment

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

include头文件,使用相对Paddle的完整路径,比如#include "paddle/fluid/operators/kernel_primitives/compute.h"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

好的

Copy link
Contributor

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lanxianghit lanxianghit left a comment

Choose a reason for hiding this comment

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

LGTM

@lanxianghit lanxianghit merged commit 563a669 into PaddlePaddle:develop Jul 27, 2021
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