Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
67e9247f
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
67e9247f
编写于
1月 15, 2020
作者:
J
juncaipeng
提交者:
Tao Luo
1月 15, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make every op in a line to avoid conflict in the future (#22274)
上级
4bf2ccaa
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
102 addition
and
24 deletion
+102
-24
python/paddle/fluid/tests/unittests/white_list/op_accuracy_white_list.py
...luid/tests/unittests/white_list/op_accuracy_white_list.py
+74
-17
python/paddle/fluid/tests/unittests/white_list/op_threshold_white_list.py
...uid/tests/unittests/white_list/op_threshold_white_list.py
+28
-7
未找到文件。
python/paddle/fluid/tests/unittests/white_list/op_accuracy_white_list.py
浏览文件 @
67e9247f
...
...
@@ -14,25 +14,82 @@
# For op in NO_FP64_CHECK_GRAD_OP_LIST, the op test requires check_grad with fp64 precision
NO_FP64_CHECK_GRAD_OP_LIST
=
[
'affine_grid'
,
'clip'
,
'conv2d'
,
'conv2d_transpose'
,
'conv3d'
,
'conv3d_transpose'
,
'conv_shift'
,
'cos_sim'
,
'cudnn_lstm'
,
'cvm'
,
'data_norm'
,
'deformable_conv'
,
'deformable_conv_v1'
,
'deformable_psroi_pooling'
,
'depthwise_conv2d'
,
'depthwise_conv2d_transpose'
,
'dropout'
,
'elementwise_max'
,
'fused_elemwise_activation'
,
'hierarchical_sigmoid'
,
'hinge_loss'
,
'huber_loss'
,
'im2sequence'
,
'increment'
,
'l1_norm'
,
'log_loss'
,
'lrn'
,
'margin_rank_loss'
,
'match_matrix_tensor'
,
'matmul'
,
'max_pool2d_with_index'
,
'max_pool3d_with_index'
,
'maxout'
,
'minus'
,
'modified_huber_loss'
,
'mul'
,
'nce'
,
'pad'
,
'pad2d'
,
'pad_constant_like'
,
'pool2d'
,
'pool3d'
,
'prelu'
,
'prroi_pool'
,
'rank_loss'
,
'reduce_max'
,
'reduce_min'
,
'relu'
,
'reshape2'
,
'roi_perspective_transform'
,
'row_conv'
,
'scale'
,
'scatter'
,
'sequence_conv'
,
'sequence_pool'
,
'sequence_reverse'
,
'sequence_slice'
,
'sequence_topk_avg_pooling'
,
'shuffle_channel'
,
'sigmoid'
,
'smooth_l1_loss'
,
'softmax'
,
'spectral_norm'
,
'sqrt'
,
'squared_l2_distance'
,
'squared_l2_norm'
,
'tanh'
,
'transpose2'
,
'trilinear_interp'
,
'var_conv_2d'
,
'affine_grid'
,
\
'clip'
,
\
'conv2d'
,
\
'conv2d_transpose'
,
\
'conv3d'
,
\
'conv3d_transpose'
,
\
'conv_shift'
,
\
'cos_sim'
,
\
'cudnn_lstm'
,
\
'cvm'
,
\
'data_norm'
,
\
'deformable_conv'
,
\
'deformable_conv_v1'
,
\
'deformable_psroi_pooling'
,
\
'depthwise_conv2d'
,
\
'depthwise_conv2d_transpose'
,
\
'dropout'
,
\
'elementwise_max'
,
\
'fused_elemwise_activation'
,
\
'hierarchical_sigmoid'
,
\
'hinge_loss'
,
\
'huber_loss'
,
\
'im2sequence'
,
\
'increment'
,
\
'l1_norm'
,
\
'log_loss'
,
\
'lrn'
,
\
'margin_rank_loss'
,
\
'match_matrix_tensor'
,
\
'matmul'
,
\
'max_pool2d_with_index'
,
\
'max_pool3d_with_index'
,
\
'maxout'
,
\
'minus'
,
\
'modified_huber_loss'
,
\
'mul'
,
\
'nce'
,
\
'pad'
,
\
'pad2d'
,
\
'pad_constant_like'
,
\
'pool2d'
,
\
'pool3d'
,
\
'prelu'
,
\
'prroi_pool'
,
\
'rank_loss'
,
\
'reduce_max'
,
\
'reduce_min'
,
\
'relu'
,
\
'reshape2'
,
\
'roi_perspective_transform'
,
\
'row_conv'
,
\
'scale'
,
\
'scatter'
,
\
'sequence_conv'
,
\
'sequence_pool'
,
\
'sequence_reverse'
,
\
'sequence_slice'
,
\
'sequence_topk_avg_pooling'
,
\
'shuffle_channel'
,
\
'sigmoid'
,
\
'smooth_l1_loss'
,
\
'softmax'
,
\
'spectral_norm'
,
\
'sqrt'
,
\
'squared_l2_distance'
,
\
'squared_l2_norm'
,
\
'tanh'
,
\
'transpose2'
,
\
'trilinear_interp'
,
\
'var_conv_2d'
,
\
'warpctc'
]
NO_FP16_CHECK_GRAD_OP_LIST
=
[
'fused_elemwise_activation'
,
'pool2d'
,
'pool3d'
,
'softmax'
'fused_elemwise_activation'
,
\
'pool2d'
,
\
'pool3d'
,
\
'softmax'
]
python/paddle/fluid/tests/unittests/white_list/op_threshold_white_list.py
浏览文件 @
67e9247f
...
...
@@ -13,13 +13,34 @@
# limitations under the License.
NEED_FIX_FP64_CHECK_GRAD_THRESHOLD_OP_LIST
=
[
'affine_channel'
,
'bilinear_interp'
,
'bilinear_tensor_product'
,
'conv2d'
,
'conv3d'
,
'cross_entropy'
,
'depthwise_conv2d_transpose'
,
'elementwise_pow'
,
'grid_sampler'
,
'group_norm'
,
'gru'
,
'gru_unit'
,
'kldiv_loss'
,
'lstm'
,
'lstmp'
,
'max_pool2d_with_index'
,
'max_pool3d_with_index'
,
'norm'
,
'pool3d'
,
'reduce_prod'
,
'selu'
,
'sigmoid_cross_entropy_with_logits'
,
'soft_relu'
,
'softmax_with_cross_entropy'
,
'spp'
,
'teacher_student_sigmoid_loss'
,
'unpool'
,
'yolov3_loss'
'affine_channel'
,
\
'bilinear_interp'
,
\
'bilinear_tensor_product'
,
\
'conv2d'
,
\
'conv3d'
,
\
'cross_entropy'
,
\
'depthwise_conv2d_transpose'
,
\
'elementwise_pow'
,
\
'grid_sampler'
,
\
'group_norm'
,
\
'gru'
,
\
'gru_unit'
,
\
'kldiv_loss'
,
\
'lstm'
,
\
'lstmp'
,
\
'max_pool2d_with_index'
,
\
'max_pool3d_with_index'
,
\
'norm'
,
\
'pool3d'
,
\
'reduce_prod'
,
\
'selu'
,
\
'sigmoid_cross_entropy_with_logits'
,
\
'soft_relu'
,
\
'softmax_with_cross_entropy'
,
\
'spp'
,
\
'teacher_student_sigmoid_loss'
,
\
'unpool'
,
\
'yolov3_loss'
]
NEED_FIX_FP64_CHECK_OUTPUT_THRESHOLD_OP_LIST
=
[
'bilinear_interp'
]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录