-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix entry #31079
fix entry #31079
Conversation
Change-Id: Icb5976151444720e9f186d0a33ac5fb0b74c2101
Change-Id: Ifb721421d29b6d22398499084062c2b2bd3031fd
Change-Id: If63c78702938677ca03de151aaf88b75794b9f78
… save_load_shrink Change-Id: I954aed20aa24003aa2e16fe29006af5ca8dbfdec
… save_load_shrink Change-Id: I8efcd47f53b56edd719409910dce761068b99473
… save_load_shrink Change-Id: Icb60dcf7b86bd88aaceb48ad1fad16253f4f93f6
Thanks for your contribution! |
Change-Id: I98d390ada7e875411015c39f35c2d1d0e130b0b8
Change-Id: Ie5f31230df3d162fee7087a7deb55ebdfb21498f
Change-Id: If86c71b17f18c88561c777766a5762818ea682d9
Change-Id: Ib8229c92a68aa28dd00200ba677ad81e8400eaf9
Change-Id: Ibac5367961723cca3f45205a85054e77b126a4c1
Change-Id: I0ed1c8bf21109c3016c836d7454ce90ee7f1d8be
Change-Id: Ief21b91f0859da1997b3cd1683be6691edf96c5d
Change-Id: Ib2149d68e948bc8d72041cd7d3904d9b2c7f9036
Change-Id: I482f7a21fdfaedfb6e28e56ff504ecc9d7790e14
Change-Id: Iba7b87922bdd6503782c2e99413e5280acd33338
Change-Id: Iaa9bb2b2b59ffa23394f9b207957d36e30c6823f
Change-Id: Ia907a88aa5e1351312d3441e931f43f43389ff83
Change-Id: Iabbdc8c6ad438262e345f93ef20e4bb89c98cf9a
Change-Id: I8232e801ad0ba9282eb1f5ff4ec543eea63b8161
|
||
input = paddle.static.data(name='ins', shape=[1], dtype='int64') | ||
|
||
emb = fluid.contrib.layers.sparse_embedding( |
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.
fluid.contrib.layers.sparse_embedding -> paddle.static.nn.sparse_embedding
size=[sparse_feature_dim, embedding_size], | ||
is_test=False, | ||
entry=entry, | ||
param_attr=fluid.ParamAttr(name="SparseFeatFactors", |
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.
fluid.ParamAttr -> paddle.ParamAttr
is_test=False, | ||
entry=entry, | ||
param_attr=fluid.ParamAttr(name="SparseFeatFactors", | ||
initializer=fluid.initializer.Uniform())) |
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.
fluid.initializer.Uniform() -> paddle.nn.initializer.Uniform
Change-Id: Ib5c3c34c7f97b68c5609b5514aeb2dcb008a9dc2
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
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 for contrib API sparse_embedding without core.ops
* fix entry * fix distributed lookup table fuse case * fix entry bug at first time * move entry from paddle.fluid -> paddle.distributed * fix ut with paddle.enable_static() Co-authored-by: malin10 <malin10@baidu.com>
PR types
Bug fixes
PR changes
Others
Describe
飞桨分布式准入策略新增API:
paddle.distributed.ProbabilityEntry
: 概率准入paddle.distributed.CountFilterEntry
: 频次准入用法示例: