Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
698128dd
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
698128dd
编写于
11月 02, 2022
作者:
J
JYChen
提交者:
GitHub
11月 02, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove functions not belong to public-api from __all__ (#47502)
上级
a57a19ea
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
4 addition
and
23 deletion
+4
-23
python/paddle/audio/datasets/esc50.py
python/paddle/audio/datasets/esc50.py
+1
-1
python/paddle/audio/datasets/tess.py
python/paddle/audio/datasets/tess.py
+1
-1
python/paddle/distributed/communication/__init__.py
python/paddle/distributed/communication/__init__.py
+0
-2
python/paddle/geometric/message_passing/__init__.py
python/paddle/geometric/message_passing/__init__.py
+1
-5
python/paddle/geometric/sampling/__init__.py
python/paddle/geometric/sampling/__init__.py
+1
-3
python/paddle/incubate/multiprocessing/__init__.py
python/paddle/incubate/multiprocessing/__init__.py
+0
-2
python/paddle/tensor/ops.py
python/paddle/tensor/ops.py
+0
-9
未找到文件。
python/paddle/audio/datasets/esc50.py
浏览文件 @
698128dd
...
...
@@ -20,7 +20,7 @@ from paddle.utils import download
from
paddle.dataset.common
import
DATA_HOME
from
.dataset
import
AudioClassificationDataset
__all__
=
[
'ESC50'
]
__all__
=
[]
class
ESC50
(
AudioClassificationDataset
):
...
...
python/paddle/audio/datasets/tess.py
浏览文件 @
698128dd
...
...
@@ -20,7 +20,7 @@ from paddle.utils import download
from
paddle.dataset.common
import
DATA_HOME
from
.dataset
import
AudioClassificationDataset
__all__
=
[
'TESS'
]
__all__
=
[]
class
TESS
(
AudioClassificationDataset
):
...
...
python/paddle/distributed/communication/__init__.py
浏览文件 @
698128dd
...
...
@@ -11,5 +11,3 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__all__
=
[
"stream"
]
python/paddle/geometric/message_passing/__init__.py
浏览文件 @
698128dd
...
...
@@ -16,8 +16,4 @@ from .send_recv import send_u_recv # noqa: F401
from
.send_recv
import
send_ue_recv
# noqa: F401
from
.send_recv
import
send_uv
# noqa: F401
__all__
=
[
'send_u_recv'
,
'send_ue_recv'
,
'send_uv'
,
]
__all__
=
[]
python/paddle/geometric/sampling/__init__.py
浏览文件 @
698128dd
...
...
@@ -14,6 +14,4 @@
from
.neighbors
import
sample_neighbors
# noqa: F401
__all__
=
[
'sample_neighbors'
,
]
__all__
=
[]
python/paddle/incubate/multiprocessing/__init__.py
浏览文件 @
698128dd
...
...
@@ -19,8 +19,6 @@ __all__ = []
from
multiprocessing
import
*
# noqa: F403
__all__
+=
multiprocessing
.
__all__
# type: ignore[attr-defined]
# Only support linux for now
# Only support file_system sharing strategy.
...
...
python/paddle/tensor/ops.py
浏览文件 @
698128dd
...
...
@@ -57,9 +57,6 @@ __inplace_unary_func__ = [
__all__
=
[]
for
_OP
in
set
(
__all__
):
globals
()[
_OP
]
=
generate_layer_fn
(
_OP
)
# It is a hot fix in some unittest using:
# fluid.layers.scale(x=x, scale=10.0, out=out_var)
# e.g.: test_program_code.py, test_dist_train.py
...
...
@@ -67,10 +64,6 @@ globals()['_scale'] = generate_layer_fn('scale')
globals
()[
'_elementwise_div'
]
=
generate_layer_fn
(
'elementwise_div'
)
__all__
+=
__activations_noattr__
__all__
+=
__unary_func__
__all__
+=
__inplace_unary_func__
for
_OP
in
set
(
__activations_noattr__
):
_new_OP
=
_OP
if
_OP
in
__deprecated_func_name__
:
...
...
@@ -932,8 +925,6 @@ def tan(x, name=None):
return
out
__all__
+=
[
'erf'
]
_erf_
=
generate_layer_fn
(
'erf'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录