Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
9fc13fde
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9fc13fde
编写于
7月 26, 2018
作者:
M
minqiyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove python3 relative import of unittest
上级
35e6abd7
变更
166
展开全部
显示空白变更内容
内联
并排
Showing
166 changed file
with
178 addition
and
178 deletion
+178
-178
python/paddle/fluid/tests/unittests/benchmark.py
python/paddle/fluid/tests/unittests/benchmark.py
+1
-1
python/paddle/fluid/tests/unittests/benchmark_sum_op.py
python/paddle/fluid/tests/unittests/benchmark_sum_op.py
+2
-2
python/paddle/fluid/tests/unittests/op_test.py
python/paddle/fluid/tests/unittests/op_test.py
+1
-1
python/paddle/fluid/tests/unittests/test_accuracy_op.py
python/paddle/fluid/tests/unittests/test_accuracy_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_activation_mkldnn_op.py
...paddle/fluid/tests/unittests/test_activation_mkldnn_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_activation_op.py
python/paddle/fluid/tests/unittests/test_activation_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_adadelta_op.py
python/paddle/fluid/tests/unittests/test_adadelta_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_adagrad_op.py
python/paddle/fluid/tests/unittests/test_adagrad_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_adam_op.py
python/paddle/fluid/tests/unittests/test_adam_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_adamax_op.py
python/paddle/fluid/tests/unittests/test_adamax_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_anchor_generator_op.py
.../paddle/fluid/tests/unittests/test_anchor_generator_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_argsort_op.py
python/paddle/fluid/tests/unittests/test_argsort_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_assign_op.py
python/paddle/fluid/tests/unittests/test_assign_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_assign_value_op.py
python/paddle/fluid/tests/unittests/test_assign_value_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_auc_op.py
python/paddle/fluid/tests/unittests/test_auc_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_batch_norm_mkldnn_op.py
...paddle/fluid/tests/unittests/test_batch_norm_mkldnn_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_batch_norm_op.py
python/paddle/fluid/tests/unittests/test_batch_norm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_bilinear_interp_op.py
...n/paddle/fluid/tests/unittests/test_bilinear_interp_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_bilinear_tensor_product_op.py
.../fluid/tests/unittests/test_bilinear_tensor_product_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_bipartite_match_op.py
...n/paddle/fluid/tests/unittests/test_bipartite_match_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_box_coder_op.py
python/paddle/fluid/tests/unittests/test_box_coder_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_cast_op.py
python/paddle/fluid/tests/unittests/test_cast_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_chunk_eval_op.py
python/paddle/fluid/tests/unittests/test_chunk_eval_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_clip_by_norm_op.py
python/paddle/fluid/tests/unittests/test_clip_by_norm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_clip_op.py
python/paddle/fluid/tests/unittests/test_clip_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_compare_op.py
python/paddle/fluid/tests/unittests/test_compare_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_concat_op.py
python/paddle/fluid/tests/unittests/test_concat_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv2d_mkldnn_op.py
python/paddle/fluid/tests/unittests/test_conv2d_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv2d_op.py
python/paddle/fluid/tests/unittests/test_conv2d_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv2d_transpose_op.py
.../paddle/fluid/tests/unittests/test_conv2d_transpose_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv3d_op.py
python/paddle/fluid/tests/unittests/test_conv3d_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
.../paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_conv_shift_op.py
python/paddle/fluid/tests/unittests/test_conv_shift_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_cos_sim_op.py
python/paddle/fluid/tests/unittests/test_cos_sim_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_crf_decoding_op.py
python/paddle/fluid/tests/unittests/test_crf_decoding_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_crop_op.py
python/paddle/fluid/tests/unittests/test_crop_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_cross_entropy_op.py
python/paddle/fluid/tests/unittests/test_cross_entropy_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_ctc_align.py
python/paddle/fluid/tests/unittests/test_ctc_align.py
+2
-2
python/paddle/fluid/tests/unittests/test_cumsum_op.py
python/paddle/fluid/tests/unittests/test_cumsum_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_decayed_adagrad_op.py
...n/paddle/fluid/tests/unittests/test_decayed_adagrad_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_detection_map_op.py
python/paddle/fluid/tests/unittests/test_detection_map_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_dropout_op.py
python/paddle/fluid/tests/unittests/test_dropout_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_dynrnn_gradient_check.py
...addle/fluid/tests/unittests/test_dynrnn_gradient_check.py
+1
-1
python/paddle/fluid/tests/unittests/test_edit_distance_op.py
python/paddle/fluid/tests/unittests/test_edit_distance_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_add_mkldnn_op.py
...e/fluid/tests/unittests/test_elementwise_add_mkldnn_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_elementwise_add_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_add_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_div_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_div_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_max_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_max_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_min_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_min_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_pow_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_pow_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_expand_op.py
python/paddle/fluid/tests/unittests/test_expand_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
...n/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fake_quantize_op.py
python/paddle/fluid/tests/unittests/test_fake_quantize_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fc_mkldnn_op.py
python/paddle/fluid/tests/unittests/test_fc_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fetch_var.py
python/paddle/fluid/tests/unittests/test_fetch_var.py
+1
-1
python/paddle/fluid/tests/unittests/test_fill_constant_batch_size_like_op.py
.../tests/unittests/test_fill_constant_batch_size_like_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fill_constant_op.py
python/paddle/fluid/tests/unittests/test_fill_constant_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fill_op.py
python/paddle/fluid/tests/unittests/test_fill_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_fill_zeros_like_op.py
...n/paddle/fluid/tests/unittests/test_fill_zeros_like_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_ftrl_op.py
python/paddle/fluid/tests/unittests/test_ftrl_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_gather_op.py
python/paddle/fluid/tests/unittests/test_gather_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_gaussian_random_batch_size_like_op.py
...ests/unittests/test_gaussian_random_batch_size_like_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_gaussian_random_mkldnn_op.py
...e/fluid/tests/unittests/test_gaussian_random_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_get_places_op.py
python/paddle/fluid/tests/unittests/test_get_places_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_gru_op.py
python/paddle/fluid/tests/unittests/test_gru_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_gru_unit_op.py
python/paddle/fluid/tests/unittests/test_gru_unit_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_hinge_loss_op.py
python/paddle/fluid/tests/unittests/test_hinge_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_huber_loss_op.py
python/paddle/fluid/tests/unittests/test_huber_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_im2sequence_op.py
python/paddle/fluid/tests/unittests/test_im2sequence_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_iou_similarity_op.py
...on/paddle/fluid/tests/unittests/test_iou_similarity_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_is_empty_op.py
python/paddle/fluid/tests/unittests/test_is_empty_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_l1_norm_op.py
python/paddle/fluid/tests/unittests/test_l1_norm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_label_smooth_op.py
python/paddle/fluid/tests/unittests/test_label_smooth_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_layers.py
python/paddle/fluid/tests/unittests/test_layers.py
+1
-1
python/paddle/fluid/tests/unittests/test_linear_chain_crf_op.py
.../paddle/fluid/tests/unittests/test_linear_chain_crf_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py
...n/paddle/fluid/tests/unittests/test_listen_and_serv_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lod_reset_op.py
python/paddle/fluid/tests/unittests/test_lod_reset_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_log_loss_op.py
python/paddle/fluid/tests/unittests/test_log_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_logical_op.py
python/paddle/fluid/tests/unittests/test_logical_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lookup_sparse_table_op.py
...ddle/fluid/tests/unittests/test_lookup_sparse_table_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lookup_table_op.py
python/paddle/fluid/tests/unittests/test_lookup_table_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lrn_mkldnn_op.py
python/paddle/fluid/tests/unittests/test_lrn_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lrn_op.py
python/paddle/fluid/tests/unittests/test_lrn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lstm_op.py
python/paddle/fluid/tests/unittests/test_lstm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lstm_unit_op.py
python/paddle/fluid/tests/unittests/test_lstm_unit_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_lstmp_op.py
python/paddle/fluid/tests/unittests/test_lstmp_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_margin_rank_loss_op.py
.../paddle/fluid/tests/unittests/test_margin_rank_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_math_op_patch.py
python/paddle/fluid/tests/unittests/test_math_op_patch.py
+1
-1
python/paddle/fluid/tests/unittests/test_matmul_op.py
python/paddle/fluid/tests/unittests/test_matmul_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_maxout_op.py
python/paddle/fluid/tests/unittests/test_maxout_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_mean_iou.py
python/paddle/fluid/tests/unittests/test_mean_iou.py
+1
-1
python/paddle/fluid/tests/unittests/test_mean_op.py
python/paddle/fluid/tests/unittests/test_mean_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_merge_ids_op.py
python/paddle/fluid/tests/unittests/test_merge_ids_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_mine_hard_examples_op.py
...addle/fluid/tests/unittests/test_mine_hard_examples_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_minus_op.py
python/paddle/fluid/tests/unittests/test_minus_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_modified_huber_loss_op.py
...ddle/fluid/tests/unittests/test_modified_huber_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_momentum_op.py
python/paddle/fluid/tests/unittests/test_momentum_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_mul_op.py
python/paddle/fluid/tests/unittests/test_mul_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_multiclass_nms_op.py
...on/paddle/fluid/tests/unittests/test_multiclass_nms_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_multiplex_op.py
python/paddle/fluid/tests/unittests/test_multiplex_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_nce.py
python/paddle/fluid/tests/unittests/test_nce.py
+1
-1
python/paddle/fluid/tests/unittests/test_norm_op.py
python/paddle/fluid/tests/unittests/test_norm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_one_hot_op.py
python/paddle/fluid/tests/unittests/test_one_hot_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_pad_op.py
python/paddle/fluid/tests/unittests/test_pad_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_parallel_executor_mnist.py
...dle/fluid/tests/unittests/test_parallel_executor_mnist.py
+1
-1
python/paddle/fluid/tests/unittests/test_parallel_executor_seresnext.py
...fluid/tests/unittests/test_parallel_executor_seresnext.py
+1
-1
python/paddle/fluid/tests/unittests/test_parallel_executor_transformer.py
...uid/tests/unittests/test_parallel_executor_transformer.py
+2
-2
python/paddle/fluid/tests/unittests/test_polygon_box_transform.py
...addle/fluid/tests/unittests/test_polygon_box_transform.py
+1
-1
python/paddle/fluid/tests/unittests/test_pool2d_mkldnn_op.py
python/paddle/fluid/tests/unittests/test_pool2d_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_pool2d_op.py
python/paddle/fluid/tests/unittests/test_pool2d_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_pool3d_op.py
python/paddle/fluid/tests/unittests/test_pool3d_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_pool_max_op.py
python/paddle/fluid/tests/unittests/test_pool_max_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_positive_negative_pair_op.py
...e/fluid/tests/unittests/test_positive_negative_pair_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_precision_recall_op.py
.../paddle/fluid/tests/unittests/test_precision_recall_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_prelu_op.py
python/paddle/fluid/tests/unittests/test_prelu_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_prior_box_op.py
python/paddle/fluid/tests/unittests/test_prior_box_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_proximal_adagrad_op.py
.../paddle/fluid/tests/unittests/test_proximal_adagrad_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_proximal_gd_op.py
python/paddle/fluid/tests/unittests/test_proximal_gd_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_random_crop_op.py
python/paddle/fluid/tests/unittests/test_random_crop_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_rank_loss_op.py
python/paddle/fluid/tests/unittests/test_rank_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_reduce_op.py
python/paddle/fluid/tests/unittests/test_reduce_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_registry.py
python/paddle/fluid/tests/unittests/test_registry.py
+1
-1
python/paddle/fluid/tests/unittests/test_reshape_op.py
python/paddle/fluid/tests/unittests/test_reshape_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_reverse_op.py
python/paddle/fluid/tests/unittests/test_reverse_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_rmsprop_op.py
python/paddle/fluid/tests/unittests/test_rmsprop_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_roi_pool_op.py
python/paddle/fluid/tests/unittests/test_roi_pool_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_row_conv_op.py
python/paddle/fluid/tests/unittests/test_row_conv_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_rpn_target_assign_op.py
...paddle/fluid/tests/unittests/test_rpn_target_assign_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_scale_op.py
python/paddle/fluid/tests/unittests/test_scale_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_scatter_op.py
python/paddle/fluid/tests/unittests/test_scatter_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_seq_concat_op.py
python/paddle/fluid/tests/unittests/test_seq_concat_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_seq_conv.py
python/paddle/fluid/tests/unittests/test_seq_conv.py
+1
-1
python/paddle/fluid/tests/unittests/test_seq_pool.py
python/paddle/fluid/tests/unittests/test_seq_pool.py
+1
-1
python/paddle/fluid/tests/unittests/test_sequence_erase_op.py
...on/paddle/fluid/tests/unittests/test_sequence_erase_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sequence_expand.py
python/paddle/fluid/tests/unittests/test_sequence_expand.py
+1
-1
python/paddle/fluid/tests/unittests/test_sequence_reshape.py
python/paddle/fluid/tests/unittests/test_sequence_reshape.py
+1
-1
python/paddle/fluid/tests/unittests/test_sequence_slice_op.py
...on/paddle/fluid/tests/unittests/test_sequence_slice_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sequence_softmax_op.py
.../paddle/fluid/tests/unittests/test_sequence_softmax_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_sgd_op.py
python/paddle/fluid/tests/unittests/test_sgd_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_shape_op.py
python/paddle/fluid/tests/unittests/test_shape_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sigmoid_cross_entropy_with_logits_op.py
...ts/unittests/test_sigmoid_cross_entropy_with_logits_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sign_op.py
python/paddle/fluid/tests/unittests/test_sign_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_slice_op.py
python/paddle/fluid/tests/unittests/test_slice_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_smooth_l1_loss_op.py
...on/paddle/fluid/tests/unittests/test_smooth_l1_loss_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_softmax_op.py
python/paddle/fluid/tests/unittests/test_softmax_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_softmax_with_cross_entropy_op.py
...uid/tests/unittests/test_softmax_with_cross_entropy_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_split_ids_op.py
python/paddle/fluid/tests/unittests/test_split_ids_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_split_op.py
python/paddle/fluid/tests/unittests/test_split_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_spp_op.py
python/paddle/fluid/tests/unittests/test_spp_op.py
+3
-3
python/paddle/fluid/tests/unittests/test_squared_l2_distance_op.py
...ddle/fluid/tests/unittests/test_squared_l2_distance_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_squared_l2_norm_op.py
...n/paddle/fluid/tests/unittests/test_squared_l2_norm_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_squeeze_op.py
python/paddle/fluid/tests/unittests/test_squeeze_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sum_mkldnn_op.py
python/paddle/fluid/tests/unittests/test_sum_mkldnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_sum_op.py
python/paddle/fluid/tests/unittests/test_sum_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_target_assign_op.py
python/paddle/fluid/tests/unittests/test_target_assign_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_top_k_op.py
python/paddle/fluid/tests/unittests/test_top_k_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_transpose_op.py
python/paddle/fluid/tests/unittests/test_transpose_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_uniform_random_batch_size_like_op.py
...tests/unittests/test_uniform_random_batch_size_like_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_uniform_random_op.py
...on/paddle/fluid/tests/unittests/test_uniform_random_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_unpool_op.py
python/paddle/fluid/tests/unittests/test_unpool_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_unsqueeze_op.py
python/paddle/fluid/tests/unittests/test_unsqueeze_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_warpctc_op.py
python/paddle/fluid/tests/unittests/test_warpctc_op.py
+2
-2
未找到文件。
python/paddle/fluid/tests/unittests/benchmark.py
浏览文件 @
9fc13fde
...
...
@@ -20,7 +20,7 @@ import itertools
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
BenchmarkSuite
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/benchmark_sum_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,8 +16,8 @@ import unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
.
benchmark
import
BenchmarkSuite
from
.
op_test
import
OpTest
from
benchmark
import
BenchmarkSuite
from
op_test
import
OpTest
# This is a demo op test case for operator benchmarking and high resolution number stability alignment.
...
...
python/paddle/fluid/tests/unittests/op_test.py
浏览文件 @
9fc13fde
...
...
@@ -25,7 +25,7 @@ from paddle.fluid.backward import append_backward
from
paddle.fluid.op
import
Operator
from
paddle.fluid.executor
import
Executor
from
paddle.fluid.framework
import
Program
,
OpProtoHolder
,
Variable
from
.
testsuite
import
create_op
,
set_input
,
append_input_output
,
append_loss_ops
from
testsuite
import
create_op
,
set_input
,
append_input_output
,
append_loss_ops
from
functools
import
reduce
from
six.moves
import
zip
...
...
python/paddle/fluid/tests/unittests/test_accuracy_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestAccuracyOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_activation_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,9 +15,9 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
scipy.special
import
expit
from
.
test_activation_op
import
TestRelu
,
TestTanh
,
TestSqrt
,
TestAbs
from
test_activation_op
import
TestRelu
,
TestTanh
,
TestSqrt
,
TestAbs
class
TestMKLDNNReluDim2
(
TestRelu
):
...
...
python/paddle/fluid/tests/unittests/test_activation_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
scipy.special
import
expit
...
...
python/paddle/fluid/tests/unittests/test_adadelta_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestAdadeltaOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_adagrad_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
.
op_test
import
OpTest
from
op_test
import
OpTest
import
math
...
...
python/paddle/fluid/tests/unittests/test_adam_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
paddle.fluid
import
core
from
paddle.fluid.op
import
Operator
...
...
python/paddle/fluid/tests/unittests/test_adamax_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestAdamaxOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_anchor_generator_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
sys
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
anchor_generator_in_python
(
input_feat
,
anchor_sizes
,
aspect_ratios
,
...
...
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
BaseTestCase
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_argsort_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestArgsortOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_assign_op.py
浏览文件 @
9fc13fde
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
op_test
import
op_test
import
numpy
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_assign_value_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
from
.
import
op_test
import
op_test
import
numpy
import
unittest
import
paddle.fluid.framework
as
framework
...
...
python/paddle/fluid/tests/unittests/test_auc_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
paddle.fluid
import
metrics
...
...
python/paddle/fluid/tests/unittests/test_batch_norm_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -17,9 +17,9 @@ import numpy as np
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
grad_var_name
from
.
test_batch_norm_op
import
TestBatchNormOpInference
,
TestBatchNormOpTraining
,
_reference_training
,
_reference_grad
from
test_batch_norm_op
import
TestBatchNormOpInference
,
TestBatchNormOpTraining
,
_reference_training
,
_reference_grad
class
TestMKLDNNBatchNormOpTraining
(
TestBatchNormOpTraining
):
...
...
python/paddle/fluid/tests/unittests/test_batch_norm_op.py
浏览文件 @
9fc13fde
...
...
@@ -17,7 +17,7 @@ import numpy as np
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
from
.
op_test
import
OpTest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
grad_var_name
...
...
python/paddle/fluid/tests/unittests/test_bilinear_interp_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_bilinear_tensor_product_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestBilinearTensorProductOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_bipartite_match_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
#limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
bipartite_match
(
distance
,
match_indices
,
match_dist
):
...
...
python/paddle/fluid/tests/unittests/test_box_coder_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
sys
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
box_coder
(
target_box
,
prior_box
,
prior_box_var
,
output_box
,
code_type
,
...
...
python/paddle/fluid/tests/unittests/test_cast_op.py
浏览文件 @
9fc13fde
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
op_test
import
op_test
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_chunk_eval_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
Segment
(
object
):
...
...
python/paddle/fluid/tests/unittests/test_clip_by_norm_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestClipByNormOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_clip_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestClipOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_compare_op.py
浏览文件 @
9fc13fde
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
op_test
import
op_test
import
unittest
import
numpy
...
...
python/paddle/fluid/tests/unittests/test_concat_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestConcatOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_conv2d_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
from
.
test_conv2d_op
import
TestConv2dOp
,
TestWithPad
,
TestWithStride
from
test_conv2d_op
import
TestConv2dOp
,
TestWithPad
,
TestWithStride
class
TestMKLDNN
(
TestConv2dOp
):
...
...
python/paddle/fluid/tests/unittests/test_conv2d_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
conv2d_forward_naive
(
input
,
filter
,
group
,
conv_param
):
...
...
python/paddle/fluid/tests/unittests/test_conv2d_transpose_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
conv2dtranspose_forward_naive
(
input_
,
filter_
,
attrs
):
...
...
python/paddle/fluid/tests/unittests/test_conv3d_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
conv3d_forward_naive
(
input
,
filter
,
group
,
conv_param
):
...
...
python/paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
conv3dtranspose_forward_naive
(
input_
,
filter_
,
attrs
):
...
...
python/paddle/fluid/tests/unittests/test_conv_shift_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
conv_shift_forward
(
x
,
y
):
...
...
python/paddle/fluid/tests/unittests/test_cos_sim_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestCosSimOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_crf_decoding_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
random
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
CRFDecoding
(
object
):
...
...
python/paddle/fluid/tests/unittests/test_crop_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
crop
(
data
,
offsets
,
crop_shape
):
...
...
python/paddle/fluid/tests/unittests/test_cross_entropy_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
,
randomize_probability
from
op_test
import
OpTest
,
randomize_probability
class
TestCrossEntropyOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_ctc_align.py
浏览文件 @
9fc13fde
...
...
@@ -15,8 +15,8 @@
import
sys
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
.
test_softmax_op
import
stable_softmax
from
op_test
import
OpTest
from
test_softmax_op
import
stable_softmax
def
CTCAlign
(
input
,
lod
,
blank
,
merge_repeated
):
...
...
python/paddle/fluid/tests/unittests/test_cumsum_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestSumOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_decayed_adagrad_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestDecayedAdagradOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_detection_map_op.py
浏览文件 @
9fc13fde
...
...
@@ -17,7 +17,7 @@ import numpy as np
import
sys
import
collections
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestDetectionMAPOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_dropout_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestDropoutOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_dynrnn_gradient_check.py
浏览文件 @
9fc13fde
...
...
@@ -17,7 +17,7 @@ import random
import
collections
import
paddle.fluid
as
fluid
import
unittest
from
.
decorators
import
*
from
decorators
import
*
class
Memory
(
object
):
...
...
python/paddle/fluid/tests/unittests/test_edit_distance_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
Levenshtein
(
hyp
,
ref
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_add_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,8 +14,8 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
.
test_elementwise_add_op
import
*
from
op_test
import
OpTest
from
test_elementwise_add_op
import
*
'''
Some tests differ from the tests defined in test_elementwise_add_op.py
because MKLDNN does not support tensors of number of dimensions 3.
...
...
python/paddle/fluid/tests/unittests/test_elementwise_add_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestElementwiseAddOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_div_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
ElementwiseDivOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_max_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestElementwiseOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_min_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestElementwiseOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
ElementwiseMulOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_pow_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestElementwisePowOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestElementwiseOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_expand_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestExpandOpRank1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
import
unittest
import
numpy
as
np
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
quantize_max_abs
(
x
,
num_bits
):
...
...
python/paddle/fluid/tests/unittests/test_fake_quantize_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestFakeQuantizeOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_fc_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
fully_connected_naive
(
input
,
weights
,
bias_data
=
None
):
...
...
python/paddle/fluid/tests/unittests/test_fetch_var.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
from
.
import
op_test
import
op_test
import
numpy
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_fill_constant_batch_size_like_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestFillConstantBatchSizeLikeWhenFirstDimIsBatchSize
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_fill_constant_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestFillConstantOp1
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_fill_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_fill_zeros_like_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestFillZerosLikeOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_ftrl_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestFTRLOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_gather_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestGatherOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_gaussian_random_batch_size_like_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestGaussianRandomBatchSizeLike
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_gaussian_random_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
from
.
test_gaussian_random_op
import
TestGaussianRandomOp
from
test_gaussian_random_op
import
TestGaussianRandomOp
class
TestMKLDNN
(
TestGaussianRandomOp
):
...
...
python/paddle/fluid/tests/unittests/test_get_places_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
paddle.fluid
as
fluid
from
paddle.fluid.layers.device
import
get_places
from
.
import
decorators
import
decorators
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_gru_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,8 +15,8 @@
import
unittest
import
numpy
as
np
import
math
from
.
op_test
import
OpTest
from
.
test_lstm_op
import
identity
,
sigmoid
,
tanh
,
relu
from
op_test
import
OpTest
from
test_lstm_op
import
identity
,
sigmoid
,
tanh
,
relu
class
TestGRUOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_gru_unit_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
import
math
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
GRUActivationType
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_hinge_loss_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestHingeLossOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
import
unittest
import
numpy
as
np
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
find_latest_set
(
num
):
...
...
python/paddle/fluid/tests/unittests/test_huber_loss_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
huber_loss_forward
(
val
,
delta
):
...
...
python/paddle/fluid/tests/unittests/test_im2sequence_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
#limitations under the License.
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
get_output_shape
(
attrs
,
in_shape
,
img_real_size
):
...
...
python/paddle/fluid/tests/unittests/test_iou_similarity_op.py
浏览文件 @
9fc13fde
...
...
@@ -17,7 +17,7 @@ import numpy as np
import
numpy.random
as
random
import
sys
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestIOUSimilarityOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_is_empty_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestEmpty
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_l1_norm_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
numpy
as
np
import
unittest
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestL1NormOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_label_smooth_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestLabelSmoothOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_layers.py
浏览文件 @
9fc13fde
...
...
@@ -20,7 +20,7 @@ from paddle.fluid.layers.device import get_places
import
paddle.fluid.nets
as
nets
from
paddle.fluid.framework
import
Program
,
program_guard
,
default_main_program
from
paddle.fluid.param_attr
import
ParamAttr
from
.
import
decorators
import
decorators
class
TestBook
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_linear_chain_crf_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
random
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
LinearChainCrfForward
(
object
):
...
...
python/paddle/fluid/tests/unittests/test_listen_and_serv_op.py
浏览文件 @
9fc13fde
...
...
@@ -20,7 +20,7 @@ import subprocess
import
time
import
unittest
from
multiprocessing
import
Process
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
run_pserver
(
use_cuda
,
sync_mode
,
ip
,
port
,
trainers
,
trainer_id
):
...
...
python/paddle/fluid/tests/unittests/test_lod_reset_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestLodResetOpByAttr
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_log_loss_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestLogLossOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_logical_op.py
浏览文件 @
9fc13fde
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
op_test
import
op_test
import
unittest
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_lookup_sparse_table_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
...
...
python/paddle/fluid/tests/unittests/test_lookup_table_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
...
...
python/paddle/fluid/tests/unittests/test_lrn_mkldnn_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
from
.
test_lrn_op
import
TestLRNOp
from
test_lrn_op
import
TestLRNOp
class
TestLRNMKLDNNOp
(
TestLRNOp
):
...
...
python/paddle/fluid/tests/unittests/test_lrn_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestLRNOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_lstm_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
SIGMOID_THRESHOLD_MIN
=
-
40.0
SIGMOID_THRESHOLD_MAX
=
13.0
...
...
python/paddle/fluid/tests/unittests/test_lstm_unit_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
sigmoid_np
(
x
):
...
...
python/paddle/fluid/tests/unittests/test_lstmp_op.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
#limitations under the License.
import
unittest
import
numpy
as
np
from
.
import
test_lstm_op
as
LstmTest
import
test_lstm_op
as
LstmTest
ACTIVATION
=
{
'identity'
:
LstmTest
.
identity
,
...
...
python/paddle/fluid/tests/unittests/test_margin_rank_loss_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestMarginRankLossOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_math_op_patch.py
浏览文件 @
9fc13fde
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
unittest
from
.
import
decorators
import
decorators
import
paddle.fluid
as
fluid
import
numpy
...
...
python/paddle/fluid/tests/unittests/test_matmul_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
generate_compatible_shapes
(
dim_X
,
dim_Y
,
transpose_X
,
transpose_Y
):
...
...
python/paddle/fluid/tests/unittests/test_maxout_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
maxout_forward_naive
(
input
,
groups
):
...
...
python/paddle/fluid/tests/unittests/test_mean_iou.py
浏览文件 @
9fc13fde
...
...
@@ -15,7 +15,7 @@
from
__future__
import
division
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
compute_mean_iou
(
predictions
,
labels
,
num_classes
,
in_wrongs
,
in_corrects
,
...
...
python/paddle/fluid/tests/unittests/test_mean_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestMeanOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_merge_ids_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestMergeIdsOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_mine_hard_examples_op.py
浏览文件 @
9fc13fde
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
import
sys
import
math
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestMineHardExamplesOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_minus_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
class
TestMinusOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_modified_huber_loss_op.py
浏览文件 @
9fc13fde
...
...
@@ -14,7 +14,7 @@
import
unittest
import
numpy
as
np
from
.
op_test
import
OpTest
from
op_test
import
OpTest
def
modified_huber_loss_forward
(
val
):
...
...
python/paddle/fluid/tests/unittests/test_momentum_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_mul_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_multiclass_nms_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_multiplex_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_nce.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_norm_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_one_hot_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_pad_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_parallel_executor_mnist.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_parallel_executor_seresnext.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_parallel_executor_transformer.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_polygon_box_transform.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_pool2d_mkldnn_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_pool2d_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_pool3d_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_pool_max_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_positive_negative_pair_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_precision_recall_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_prelu_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_prior_box_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_proximal_adagrad_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_proximal_gd_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_random_crop_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_rank_loss_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_reduce_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_registry.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_reshape_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_reverse_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_rmsprop_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_roi_pool_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_row_conv_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_rpn_target_assign_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_scale_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_scatter_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_seq_concat_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_seq_conv.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_seq_pool.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sequence_erase_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sequence_expand.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sequence_reshape.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sequence_slice_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sequence_softmax_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sgd_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_shape_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sigmoid_cross_entropy_with_logits_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sign_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_slice_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_smooth_l1_loss_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_softmax_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_softmax_with_cross_entropy_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_split_ids_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_split_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_spp_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_squared_l2_distance_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_squared_l2_norm_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_squeeze_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sum_mkldnn_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_sum_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_target_assign_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_top_k_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_transpose_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_uniform_random_batch_size_like_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_uniform_random_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_unpool_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_unsqueeze_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_warpctc_op.py
浏览文件 @
9fc13fde
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录