Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
d12aa495
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看板
未验证
提交
d12aa495
编写于
11月 19, 2020
作者:
W
wangguanzhong
提交者:
GitHub
11月 19, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove alias for iou_similarity and ssd_loss (#28742)
上级
3a88acd2
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
0 addition
and
6 deletion
+0
-6
python/paddle/nn/functional/__init__.py
python/paddle/nn/functional/__init__.py
+0
-2
python/paddle/nn/functional/loss.py
python/paddle/nn/functional/loss.py
+0
-4
未找到文件。
python/paddle/nn/functional/__init__.py
浏览文件 @
d12aa495
...
@@ -131,7 +131,6 @@ from .loss import binary_cross_entropy_with_logits #DEFINE_ALIAS
...
@@ -131,7 +131,6 @@ from .loss import binary_cross_entropy_with_logits #DEFINE_ALIAS
from
.loss
import
cross_entropy
#DEFINE_ALIAS
from
.loss
import
cross_entropy
#DEFINE_ALIAS
from
.loss
import
dice_loss
#DEFINE_ALIAS
from
.loss
import
dice_loss
#DEFINE_ALIAS
from
.loss
import
hsigmoid_loss
#DEFINE_ALIAS
from
.loss
import
hsigmoid_loss
#DEFINE_ALIAS
from
.loss
import
iou_similarity
#DEFINE_ALIAS
from
.loss
import
kl_div
#DEFINE_ALIAS
from
.loss
import
kl_div
#DEFINE_ALIAS
from
.loss
import
l1_loss
#DEFINE_ALIAS
from
.loss
import
l1_loss
#DEFINE_ALIAS
from
.loss
import
log_loss
#DEFINE_ALIAS
from
.loss
import
log_loss
#DEFINE_ALIAS
...
@@ -145,7 +144,6 @@ from .loss import sigmoid_focal_loss #DEFINE_ALIAS
...
@@ -145,7 +144,6 @@ from .loss import sigmoid_focal_loss #DEFINE_ALIAS
from
.loss
import
smooth_l1_loss
#DEFINE_ALIAS
from
.loss
import
smooth_l1_loss
#DEFINE_ALIAS
from
.loss
import
softmax_with_cross_entropy
#DEFINE_ALIAS
from
.loss
import
softmax_with_cross_entropy
#DEFINE_ALIAS
from
.loss
import
square_error_cost
#DEFINE_ALIAS
from
.loss
import
square_error_cost
#DEFINE_ALIAS
from
.loss
import
ssd_loss
#DEFINE_ALIAS
# from .loss import teacher_student_sigmoid_loss #DEFINE_ALIAS
# from .loss import teacher_student_sigmoid_loss #DEFINE_ALIAS
from
.loss
import
ctc_loss
#DEFINE_ALIAS
from
.loss
import
ctc_loss
#DEFINE_ALIAS
# from .norm import data_norm #DEFINE_ALIAS
# from .norm import data_norm #DEFINE_ALIAS
...
...
python/paddle/nn/functional/loss.py
浏览文件 @
d12aa495
...
@@ -24,13 +24,11 @@ import paddle.fluid as fluid
...
@@ -24,13 +24,11 @@ import paddle.fluid as fluid
from
...fluid.framework
import
core
,
in_dygraph_mode
from
...fluid.framework
import
core
,
in_dygraph_mode
from
...fluid.layers.nn
import
_elementwise_op_in_dygraph
from
...fluid.layers.nn
import
_elementwise_op_in_dygraph
from
...fluid.layers
import
dice_loss
#DEFINE_ALIAS
from
...fluid.layers
import
dice_loss
#DEFINE_ALIAS
from
...fluid.layers
import
iou_similarity
#DEFINE_ALIAS
from
...fluid.layers
import
log_loss
#DEFINE_ALIAS
from
...fluid.layers
import
log_loss
#DEFINE_ALIAS
from
...fluid.layers
import
npair_loss
#DEFINE_ALIAS
from
...fluid.layers
import
npair_loss
#DEFINE_ALIAS
from
...fluid.layers
import
reshape
from
...fluid.layers
import
reshape
from
...fluid.layers
import
softmax_with_cross_entropy
#DEFINE_ALIAS
from
...fluid.layers
import
softmax_with_cross_entropy
#DEFINE_ALIAS
from
...fluid.layers
import
square_error_cost
#DEFINE_ALIAS
from
...fluid.layers
import
square_error_cost
#DEFINE_ALIAS
from
...fluid.layers
import
ssd_loss
#DEFINE_ALIAS
from
...fluid.layers
import
edit_distance
#DEFINE_ALIAS
from
...fluid.layers
import
edit_distance
#DEFINE_ALIAS
from
...fluid.layers
import
sampled_softmax_with_cross_entropy
#DEFINE_ALIAS
from
...fluid.layers
import
sampled_softmax_with_cross_entropy
#DEFINE_ALIAS
...
@@ -46,7 +44,6 @@ __all__ = [
...
@@ -46,7 +44,6 @@ __all__ = [
'cross_entropy'
,
'cross_entropy'
,
'dice_loss'
,
'dice_loss'
,
'hsigmoid_loss'
,
'hsigmoid_loss'
,
'iou_similarity'
,
'kl_div'
,
'kl_div'
,
'l1_loss'
,
'l1_loss'
,
'log_loss'
,
'log_loss'
,
...
@@ -59,7 +56,6 @@ __all__ = [
...
@@ -59,7 +56,6 @@ __all__ = [
'smooth_l1_loss'
,
'smooth_l1_loss'
,
'softmax_with_cross_entropy'
,
'softmax_with_cross_entropy'
,
'square_error_cost'
,
'square_error_cost'
,
'ssd_loss'
,
'ctc_loss'
,
'ctc_loss'
,
]
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录