Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
ebc3f43d
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ebc3f43d
编写于
10月 11, 2022
作者:
N
Nyakku Shigure
提交者:
GitHub
10月 11, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CodeStyle][F401] remove unused import in unittests/test_[a-e] (#46691)
上级
c1efbdd4
变更
216
展开全部
隐藏空白更改
内联
并排
Showing
216 changed file
with
45 addition
and
494 deletion
+45
-494
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_nn_grad.py
...n/paddle/fluid/tests/unittests/test_activation_nn_grad.py
+0
-1
python/paddle/fluid/tests/unittests/test_activation_op.py
python/paddle/fluid/tests/unittests/test_activation_op.py
+2
-3
python/paddle/fluid/tests/unittests/test_activation_sparse_op.py
...paddle/fluid/tests/unittests/test_activation_sparse_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_adagrad_op_v2.py
python/paddle/fluid/tests/unittests/test_adagrad_op_v2.py
+0
-5
python/paddle/fluid/tests/unittests/test_adamax_api.py
python/paddle/fluid/tests/unittests/test_adamax_api.py
+0
-1
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool1d.py
.../paddle/fluid/tests/unittests/test_adaptive_avg_pool1d.py
+0
-2
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool2d.py
.../paddle/fluid/tests/unittests/test_adaptive_avg_pool2d.py
+0
-1
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool3d.py
.../paddle/fluid/tests/unittests/test_adaptive_avg_pool3d.py
+0
-2
python/paddle/fluid/tests/unittests/test_adaptive_max_pool1d.py
.../paddle/fluid/tests/unittests/test_adaptive_max_pool1d.py
+1
-2
python/paddle/fluid/tests/unittests/test_adaptive_max_pool2d.py
.../paddle/fluid/tests/unittests/test_adaptive_max_pool2d.py
+1
-2
python/paddle/fluid/tests/unittests/test_adaptive_max_pool3d.py
.../paddle/fluid/tests/unittests/test_adaptive_max_pool3d.py
+1
-2
python/paddle/fluid/tests/unittests/test_add_position_encoding_op.py
...le/fluid/tests/unittests/test_add_position_encoding_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_addmm_op.py
python/paddle/fluid/tests/unittests/test_addmm_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_affine_channel_op.py
...on/paddle/fluid/tests/unittests/test_affine_channel_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_affine_grid_function.py
...paddle/fluid/tests/unittests/test_affine_grid_function.py
+1
-2
python/paddle/fluid/tests/unittests/test_allgather.py
python/paddle/fluid/tests/unittests/test_allgather.py
+0
-1
python/paddle/fluid/tests/unittests/test_amp_check_finite_and_scale_op.py
...uid/tests/unittests/test_amp_check_finite_and_scale_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_anchor_generator_op.py
.../paddle/fluid/tests/unittests/test_anchor_generator_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_argsort_op.py
python/paddle/fluid/tests/unittests/test_argsort_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_array_read_write_op.py
.../paddle/fluid/tests/unittests/test_array_read_write_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_ascend_trigger.py
python/paddle/fluid/tests/unittests/test_ascend_trigger.py
+0
-1
python/paddle/fluid/tests/unittests/test_assign_op.py
python/paddle/fluid/tests/unittests/test_assign_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_assign_pos_op.py
python/paddle/fluid/tests/unittests/test_assign_pos_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_atan2_op.py
python/paddle/fluid/tests/unittests/test_atan2_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_auto_parallel_autoconvert.py
...e/fluid/tests/unittests/test_auto_parallel_autoconvert.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_completion.py
...le/fluid/tests/unittests/test_auto_parallel_completion.py
+0
-6
python/paddle/fluid/tests/unittests/test_auto_parallel_completion_gpt.py
...luid/tests/unittests/test_auto_parallel_completion_gpt.py
+0
-7
python/paddle/fluid/tests/unittests/test_auto_parallel_cost_model.py
...le/fluid/tests/unittests/test_auto_parallel_cost_model.py
+0
-2
python/paddle/fluid/tests/unittests/test_auto_parallel_data_unshard.py
.../fluid/tests/unittests/test_auto_parallel_data_unshard.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_dist_tensor.py
...e/fluid/tests/unittests/test_auto_parallel_dist_tensor.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_graph.py
.../paddle/fluid/tests/unittests/test_auto_parallel_graph.py
+0
-4
python/paddle/fluid/tests/unittests/test_auto_parallel_mapper.py
...paddle/fluid/tests/unittests/test_auto_parallel_mapper.py
+1
-14
python/paddle/fluid/tests/unittests/test_auto_parallel_partitioner.py
...e/fluid/tests/unittests/test_auto_parallel_partitioner.py
+0
-6
python/paddle/fluid/tests/unittests/test_auto_parallel_partitioner_gpt.py
...uid/tests/unittests/test_auto_parallel_partitioner_gpt.py
+0
-8
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard.py
...addle/fluid/tests/unittests/test_auto_parallel_reshard.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_dpmppp.py
...luid/tests/unittests/test_auto_parallel_reshard_dpmppp.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_mppp.py
.../fluid/tests/unittests/test_auto_parallel_reshard_mppp.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_serial.py
...luid/tests/unittests/test_auto_parallel_reshard_serial.py
+0
-3
python/paddle/fluid/tests/unittests/test_auto_parallel_save_load.py
...dle/fluid/tests/unittests/test_auto_parallel_save_load.py
+0
-1
python/paddle/fluid/tests/unittests/test_auto_parallel_searcher.py
...ddle/fluid/tests/unittests/test_auto_parallel_searcher.py
+1
-8
python/paddle/fluid/tests/unittests/test_auto_search_dist_matmul_op.py
.../fluid/tests/unittests/test_auto_search_dist_matmul_op.py
+1
-7
python/paddle/fluid/tests/unittests/test_auto_search_dist_op.py
.../paddle/fluid/tests/unittests/test_auto_search_dist_op.py
+1
-7
python/paddle/fluid/tests/unittests/test_backward_infer_var_data_type_shape.py
...ests/unittests/test_backward_infer_var_data_type_shape.py
+0
-1
python/paddle/fluid/tests/unittests/test_basic_rnn_name.py
python/paddle/fluid/tests/unittests/test_basic_rnn_name.py
+0
-5
python/paddle/fluid/tests/unittests/test_batch_fc_op.py
python/paddle/fluid/tests/unittests/test_batch_fc_op.py
+1
-4
python/paddle/fluid/tests/unittests/test_batch_norm_op_v2.py
python/paddle/fluid/tests/unittests/test_batch_norm_op_v2.py
+1
-4
python/paddle/fluid/tests/unittests/test_batch_sampler.py
python/paddle/fluid/tests/unittests/test_batch_sampler.py
+0
-2
python/paddle/fluid/tests/unittests/test_bce_with_logits_loss.py
...paddle/fluid/tests/unittests/test_bce_with_logits_loss.py
+0
-1
python/paddle/fluid/tests/unittests/test_beam_search_op.py
python/paddle/fluid/tests/unittests/test_beam_search_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_bernoulli_op.py
python/paddle/fluid/tests/unittests/test_bernoulli_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_bicubic_interp_op.py
...on/paddle/fluid/tests/unittests/test_bicubic_interp_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_bicubic_interp_v2_op.py
...paddle/fluid/tests/unittests/test_bicubic_interp_v2_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_bilinear_api.py
python/paddle/fluid/tests/unittests/test_bilinear_api.py
+0
-1
python/paddle/fluid/tests/unittests/test_bincount_op.py
python/paddle/fluid/tests/unittests/test_bincount_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_bmm_op.py
python/paddle/fluid/tests/unittests/test_bmm_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_box_clip_op.py
python/paddle/fluid/tests/unittests/test_box_clip_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_box_coder_op.py
python/paddle/fluid/tests/unittests/test_box_coder_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_box_decoder_and_assign_op.py
...e/fluid/tests/unittests/test_box_decoder_and_assign_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_boxps.py
python/paddle/fluid/tests/unittests/test_boxps.py
+0
-4
python/paddle/fluid/tests/unittests/test_broadcast_shape.py
python/paddle/fluid/tests/unittests/test_broadcast_shape.py
+0
-1
python/paddle/fluid/tests/unittests/test_broadcast_tensors_op.py
...paddle/fluid/tests/unittests/test_broadcast_tensors_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_broadcast_to_op.py
python/paddle/fluid/tests/unittests/test_broadcast_to_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_bucketize_api.py
python/paddle/fluid/tests/unittests/test_bucketize_api.py
+0
-4
python/paddle/fluid/tests/unittests/test_buffer_shared_memory_reuse_pass.py
...d/tests/unittests/test_buffer_shared_memory_reuse_pass.py
+0
-2
python/paddle/fluid/tests/unittests/test_c_comm_init_all_op.py
...n/paddle/fluid/tests/unittests/test_c_comm_init_all_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_c_embedding_op.py
python/paddle/fluid/tests/unittests/test_c_embedding_op.py
+0
-5
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_center_loss.py
python/paddle/fluid/tests/unittests/test_center_loss.py
+0
-1
python/paddle/fluid/tests/unittests/test_checkpoint_saver.py
python/paddle/fluid/tests/unittests/test_checkpoint_saver.py
+1
-7
python/paddle/fluid/tests/unittests/test_cholesky_op.py
python/paddle/fluid/tests/unittests/test_cholesky_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_chunk_op.py
python/paddle/fluid/tests/unittests/test_chunk_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_class_center_sample_op.py
...ddle/fluid/tests/unittests/test_class_center_sample_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_collect_fpn_proposals_op.py
...le/fluid/tests/unittests/test_collect_fpn_proposals_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_collective_api_base.py
.../paddle/fluid/tests/unittests/test_collective_api_base.py
+0
-6
python/paddle/fluid/tests/unittests/test_collective_base.py
python/paddle/fluid/tests/unittests/test_collective_base.py
+0
-4
python/paddle/fluid/tests/unittests/test_communicator_async.py
...n/paddle/fluid/tests/unittests/test_communicator_async.py
+0
-2
python/paddle/fluid/tests/unittests/test_communicator_geo.py
python/paddle/fluid/tests/unittests/test_communicator_geo.py
+0
-1
python/paddle/fluid/tests/unittests/test_communicator_ps_gpu.py
.../paddle/fluid/tests/unittests/test_communicator_ps_gpu.py
+0
-2
python/paddle/fluid/tests/unittests/test_compare_reduce_op.py
...on/paddle/fluid/tests/unittests/test_compare_reduce_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_complex_getitem.py
python/paddle/fluid/tests/unittests/test_complex_getitem.py
+0
-1
python/paddle/fluid/tests/unittests/test_complex_kron.py
python/paddle/fluid/tests/unittests/test_complex_kron.py
+1
-1
python/paddle/fluid/tests/unittests/test_complex_trace_layer.py
.../paddle/fluid/tests/unittests/test_complex_trace_layer.py
+0
-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_conj_op.py
python/paddle/fluid/tests/unittests/test_conj_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_conv1d_layer.py
python/paddle/fluid/tests/unittests/test_conv1d_layer.py
+0
-1
python/paddle/fluid/tests/unittests/test_conv1d_transpose_layer.py
...ddle/fluid/tests/unittests/test_conv1d_transpose_layer.py
+0
-1
python/paddle/fluid/tests/unittests/test_conv2d_api.py
python/paddle/fluid/tests/unittests/test_conv2d_api.py
+0
-2
python/paddle/fluid/tests/unittests/test_conv2d_op_depthwise_conv.py
...le/fluid/tests/unittests/test_conv2d_op_depthwise_conv.py
+0
-3
python/paddle/fluid/tests/unittests/test_conv2d_transpose_op_depthwise_conv.py
...ests/unittests/test_conv2d_transpose_op_depthwise_conv.py
+0
-3
python/paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
.../paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_conv3d_transpose_part2_op.py
...e/fluid/tests/unittests/test_conv3d_transpose_part2_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_corr.py
python/paddle/fluid/tests/unittests/test_corr.py
+0
-3
python/paddle/fluid/tests/unittests/test_cosine_similarity_api.py
...addle/fluid/tests/unittests/test_cosine_similarity_api.py
+0
-1
python/paddle/fluid/tests/unittests/test_count_nonzero_api.py
...on/paddle/fluid/tests/unittests/test_count_nonzero_api.py
+0
-2
python/paddle/fluid/tests/unittests/test_cov.py
python/paddle/fluid/tests/unittests/test_cov.py
+1
-2
python/paddle/fluid/tests/unittests/test_create_global_var.py
...on/paddle/fluid/tests/unittests/test_create_global_var.py
+0
-1
python/paddle/fluid/tests/unittests/test_create_parameter.py
python/paddle/fluid/tests/unittests/test_create_parameter.py
+0
-2
python/paddle/fluid/tests/unittests/test_cross_op.py
python/paddle/fluid/tests/unittests/test_cross_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_crypto.py
python/paddle/fluid/tests/unittests/test_crypto.py
+0
-1
python/paddle/fluid/tests/unittests/test_ctc_align.py
python/paddle/fluid/tests/unittests/test_ctc_align.py
+0
-3
python/paddle/fluid/tests/unittests/test_cuda_graph.py
python/paddle/fluid/tests/unittests/test_cuda_graph.py
+0
-1
python/paddle/fluid/tests/unittests/test_cuda_graph_partial_graph_static.py
...d/tests/unittests/test_cuda_graph_partial_graph_static.py
+0
-1
python/paddle/fluid/tests/unittests/test_cuda_max_memory_allocated.py
...e/fluid/tests/unittests/test_cuda_max_memory_allocated.py
+1
-1
python/paddle/fluid/tests/unittests/test_cuda_memory_allocated.py
...addle/fluid/tests/unittests/test_cuda_memory_allocated.py
+0
-1
python/paddle/fluid/tests/unittests/test_cuda_memory_reserved.py
...paddle/fluid/tests/unittests/test_cuda_memory_reserved.py
+1
-2
python/paddle/fluid/tests/unittests/test_cuda_random_seed.py
python/paddle/fluid/tests/unittests/test_cuda_random_seed.py
+0
-1
python/paddle/fluid/tests/unittests/test_cumprod_op.py
python/paddle/fluid/tests/unittests/test_cumprod_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_cumsum_op.py
python/paddle/fluid/tests/unittests/test_cumsum_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_custom_grad_input.py
...on/paddle/fluid/tests/unittests/test_custom_grad_input.py
+0
-1
python/paddle/fluid/tests/unittests/test_cvm_op.py
python/paddle/fluid/tests/unittests/test_cvm_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_data_generator.py
python/paddle/fluid/tests/unittests/test_data_generator.py
+0
-4
python/paddle/fluid/tests/unittests/test_data_norm_op.py
python/paddle/fluid/tests/unittests/test_data_norm_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_dataloader_autotune.py
.../paddle/fluid/tests/unittests/test_dataloader_autotune.py
+1
-1
python/paddle/fluid/tests/unittests/test_dataloader_dataset.py
...n/paddle/fluid/tests/unittests/test_dataloader_dataset.py
+1
-3
python/paddle/fluid/tests/unittests/test_dataloader_early_reset.py
...ddle/fluid/tests/unittests/test_dataloader_early_reset.py
+0
-1
python/paddle/fluid/tests/unittests/test_dataset.py
python/paddle/fluid/tests/unittests/test_dataset.py
+0
-2
python/paddle/fluid/tests/unittests/test_dataset_consistency_inspection.py
...id/tests/unittests/test_dataset_consistency_inspection.py
+0
-5
python/paddle/fluid/tests/unittests/test_debugger.py
python/paddle/fluid/tests/unittests/test_debugger.py
+0
-1
python/paddle/fluid/tests/unittests/test_default_dtype.py
python/paddle/fluid/tests/unittests/test_default_dtype.py
+0
-4
python/paddle/fluid/tests/unittests/test_deform_conv2d.py
python/paddle/fluid/tests/unittests/test_deform_conv2d.py
+0
-1
python/paddle/fluid/tests/unittests/test_deformable_conv_op.py
...n/paddle/fluid/tests/unittests/test_deformable_conv_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_deformable_conv_v1_op.py
...addle/fluid/tests/unittests/test_deformable_conv_v1_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_deformable_psroi_pooling.py
...le/fluid/tests/unittests/test_deformable_psroi_pooling.py
+0
-1
python/paddle/fluid/tests/unittests/test_deg2rad.py
python/paddle/fluid/tests/unittests/test_deg2rad.py
+0
-2
python/paddle/fluid/tests/unittests/test_density_prior_box_op.py
...paddle/fluid/tests/unittests/test_density_prior_box_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_deprecated_decorator.py
...paddle/fluid/tests/unittests/test_deprecated_decorator.py
+1
-3
python/paddle/fluid/tests/unittests/test_dequantize_log_op.py
...on/paddle/fluid/tests/unittests/test_dequantize_log_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_desc_clone.py
python/paddle/fluid/tests/unittests/test_desc_clone.py
+0
-10
python/paddle/fluid/tests/unittests/test_detection_map_op.py
python/paddle/fluid/tests/unittests/test_detection_map_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_determinant_op.py
python/paddle/fluid/tests/unittests/test_determinant_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_device_guard.py
python/paddle/fluid/tests/unittests/test_device_guard.py
+0
-2
python/paddle/fluid/tests/unittests/test_diag.py
python/paddle/fluid/tests/unittests/test_diag.py
+0
-1
python/paddle/fluid/tests/unittests/test_diag_embed.py
python/paddle/fluid/tests/unittests/test_diag_embed.py
+0
-1
python/paddle/fluid/tests/unittests/test_diag_v2.py
python/paddle/fluid/tests/unittests/test_diag_v2.py
+0
-1
python/paddle/fluid/tests/unittests/test_diagonal_op.py
python/paddle/fluid/tests/unittests/test_diagonal_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_diff_op.py
python/paddle/fluid/tests/unittests/test_diff_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_digamma_op.py
python/paddle/fluid/tests/unittests/test_digamma_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_directory_migration.py
.../paddle/fluid/tests/unittests/test_directory_migration.py
+0
-4
python/paddle/fluid/tests/unittests/test_disable_signal_handler.py
...ddle/fluid/tests/unittests/test_disable_signal_handler.py
+1
-3
python/paddle/fluid/tests/unittests/test_dist_base.py
python/paddle/fluid/tests/unittests/test_dist_base.py
+0
-6
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_async.py
...tests/unittests/test_dist_fleet_a_sync_optimizer_async.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto.py
.../tests/unittests/test_dist_fleet_a_sync_optimizer_auto.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto_async.py
.../unittests/test_dist_fleet_a_sync_optimizer_auto_async.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto_geo.py
...ts/unittests/test_dist_fleet_a_sync_optimizer_auto_geo.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_geo.py
...d/tests/unittests/test_dist_fleet_a_sync_optimizer_geo.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_sync.py
.../tests/unittests/test_dist_fleet_a_sync_optimizer_sync.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_base.py
python/paddle/fluid/tests/unittests/test_dist_fleet_base.py
+0
-3
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_decay.py
python/paddle/fluid/tests/unittests/test_dist_fleet_decay.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_gloo.py
python/paddle/fluid/tests/unittests/test_dist_fleet_gloo.py
+0
-4
python/paddle/fluid/tests/unittests/test_dist_fleet_heter_base.py
...addle/fluid/tests/unittests/test_dist_fleet_heter_base.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_infer.py
python/paddle/fluid/tests/unittests/test_dist_fleet_infer.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_ps.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_ps11.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps11.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_ps12.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps12.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_ps13.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps13.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_ps2.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps2.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_fleet_ps3.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps3.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_ps4.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps4.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_ps5.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps5.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_ps6.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ps6.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_simnet.py
...on/paddle/fluid/tests/unittests/test_dist_fleet_simnet.py
+0
-1
python/paddle/fluid/tests/unittests/test_dist_fleet_trainer_desc_config.py
...id/tests/unittests/test_dist_fleet_trainer_desc_config.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_save_load.py
python/paddle/fluid/tests/unittests/test_dist_save_load.py
+1
-1
python/paddle/fluid/tests/unittests/test_dist_sparse_load_ps0.py
...paddle/fluid/tests/unittests/test_dist_sparse_load_ps0.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_sparse_load_ps1.py
...paddle/fluid/tests/unittests/test_dist_sparse_load_ps1.py
+0
-3
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_adagrad.py
...d/tests/unittests/test_dist_sparse_tensor_load_adagrad.py
+0
-7
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_adam.py
...luid/tests/unittests/test_dist_sparse_tensor_load_adam.py
+0
-7
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_ftrl.py
...luid/tests/unittests/test_dist_sparse_tensor_load_ftrl.py
+0
-7
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_momentum.py
.../tests/unittests/test_dist_sparse_tensor_load_momentum.py
+0
-7
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_rmsprop.py
...d/tests/unittests/test_dist_sparse_tensor_load_rmsprop.py
+0
-7
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_sgd.py
...fluid/tests/unittests/test_dist_sparse_tensor_load_sgd.py
+0
-5
python/paddle/fluid/tests/unittests/test_dist_transpiler.py
python/paddle/fluid/tests/unittests/test_dist_transpiler.py
+0
-2
python/paddle/fluid/tests/unittests/test_dist_tree_index.py
python/paddle/fluid/tests/unittests/test_dist_tree_index.py
+1
-2
python/paddle/fluid/tests/unittests/test_distribute_fpn_proposals_op.py
...fluid/tests/unittests/test_distribute_fpn_proposals_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_dot_op.py
python/paddle/fluid/tests/unittests/test_dot_op.py
+2
-3
python/paddle/fluid/tests/unittests/test_downpoursgd.py
python/paddle/fluid/tests/unittests/test_downpoursgd.py
+0
-6
python/paddle/fluid/tests/unittests/test_dropout_nd_op.py
python/paddle/fluid/tests/unittests/test_dropout_nd_op.py
+2
-2
python/paddle/fluid/tests/unittests/test_dropout_op.py
python/paddle/fluid/tests/unittests/test_dropout_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_dygraph_multi_forward.py
...addle/fluid/tests/unittests/test_dygraph_multi_forward.py
+0
-1
python/paddle/fluid/tests/unittests/test_dygraph_weight_norm.py
.../paddle/fluid/tests/unittests/test_dygraph_weight_norm.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_deletion_conditional_block.py
.../tests/unittests/test_eager_deletion_conditional_block.py
+0
-2
python/paddle/fluid/tests/unittests/test_eager_deletion_dynamic_rnn_base.py
...d/tests/unittests/test_eager_deletion_dynamic_rnn_base.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_deletion_mnist.py
...paddle/fluid/tests/unittests/test_eager_deletion_mnist.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_deletion_padding_rnn.py
.../fluid/tests/unittests/test_eager_deletion_padding_rnn.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_deletion_recurrent_op.py
...fluid/tests/unittests/test_eager_deletion_recurrent_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_deletion_while_op.py
...dle/fluid/tests/unittests/test_eager_deletion_while_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_eager_run_program.py
...on/paddle/fluid/tests/unittests/test_eager_run_program.py
+1
-2
python/paddle/fluid/tests/unittests/test_eager_trace_op.py
python/paddle/fluid/tests/unittests/test_eager_trace_op.py
+0
-5
python/paddle/fluid/tests/unittests/test_egr_code_generate_api.py
...addle/fluid/tests/unittests/test_egr_code_generate_api.py
+0
-1
python/paddle/fluid/tests/unittests/test_egr_python_api.py
python/paddle/fluid/tests/unittests/test_egr_python_api.py
+1
-3
python/paddle/fluid/tests/unittests/test_egr_string_tensor_api.py
...addle/fluid/tests/unittests/test_egr_string_tensor_api.py
+1
-3
python/paddle/fluid/tests/unittests/test_eig_op.py
python/paddle/fluid/tests/unittests/test_eig_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_eigh_op.py
python/paddle/fluid/tests/unittests/test_eigh_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_eigvals_op.py
python/paddle/fluid/tests/unittests/test_eigvals_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_eigvalsh_op.py
python/paddle/fluid/tests/unittests/test_eigvalsh_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_einsum.py
python/paddle/fluid/tests/unittests/test_einsum.py
+0
-1
python/paddle/fluid/tests/unittests/test_einsum_v2.py
python/paddle/fluid/tests/unittests/test_einsum_v2.py
+0
-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_floordiv_op.py
...dle/fluid/tests/unittests/test_elementwise_floordiv_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_elementwise_max_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_max_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_elementwise_mod_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_mod_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
...n/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_empty_like_op.py
python/paddle/fluid/tests/unittests/test_empty_like_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_empty_op.py
python/paddle/fluid/tests/unittests/test_empty_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_entry_attr2.py
python/paddle/fluid/tests/unittests/test_entry_attr2.py
+0
-2
python/paddle/fluid/tests/unittests/test_executor_and_mul.py
python/paddle/fluid/tests/unittests/test_executor_and_mul.py
+0
-1
python/paddle/fluid/tests/unittests/test_executor_check_feed.py
.../paddle/fluid/tests/unittests/test_executor_check_feed.py
+0
-2
python/paddle/fluid/tests/unittests/test_executor_feed_non_tensor.py
...le/fluid/tests/unittests/test_executor_feed_non_tensor.py
+0
-1
python/paddle/fluid/tests/unittests/test_executor_return_tensor_not_overwriting.py
.../unittests/test_executor_return_tensor_not_overwriting.py
+0
-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_expand_v2_op.py
python/paddle/fluid/tests/unittests/test_expand_v2_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_exponential_op.py
python/paddle/fluid/tests/unittests/test_exponential_op.py
+0
-1
未找到文件。
python/paddle/fluid/tests/unittests/test_accuracy_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,7 @@ import numpy as np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
class
TestAccuracyOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_activation_nn_grad.py
浏览文件 @
ebc3f43d
...
...
@@ -21,7 +21,6 @@ import paddle.fluid.layers as layers
import
paddle.fluid.core
as
core
import
gradient_checker
import
paddle.nn.functional
as
F
from
paddle.fluid.framework
import
_test_eager_guard
from
decorator_helper
import
prog_scope
...
...
python/paddle/fluid/tests/unittests/test_activation_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,13 +17,12 @@ import unittest
import
numpy
as
np
from
scipy.special
import
expit
,
erf
from
op_test
import
OpTest
,
convert_float_to_uint16
,
skip_check_grad_ci
from
op_test
import
OpTest
,
convert_float_to_uint16
import
paddle
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.framework
import
_test_eager_guard
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_activation_sparse_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,10 +14,8 @@
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
op_test
import
OpTest
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_adagrad_op_v2.py
浏览文件 @
ebc3f43d
...
...
@@ -13,12 +13,7 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
op_test
import
OpTest
import
math
class
TestAdagradOpV2
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_adamax_api.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool1d.py
浏览文件 @
ebc3f43d
...
...
@@ -15,10 +15,8 @@
import
numpy
as
np
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
import
paddle
import
paddle.nn.functional
as
F
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool2d.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_adaptive_avg_pool3d.py
浏览文件 @
ebc3f43d
...
...
@@ -16,10 +16,8 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
def
adaptive_start_index
(
index
,
input_size
,
output_size
):
...
...
python/paddle/fluid/tests/unittests/test_adaptive_max_pool1d.py
浏览文件 @
ebc3f43d
...
...
@@ -14,9 +14,8 @@
import
numpy
as
np
import
unittest
from
op_test
import
OpTest
,
check_out_dtype
from
op_test
import
check_out_dtype
import
paddle.fluid.core
as
core
from
paddle.fluid
import
compiler
,
Program
,
program_guard
import
paddle
import
paddle.nn.functional
as
F
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_adaptive_max_pool2d.py
浏览文件 @
ebc3f43d
...
...
@@ -16,10 +16,9 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
check_out_dtype
from
op_test
import
check_out_dtype
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
paddle.nn.functional
as
F
...
...
python/paddle/fluid/tests/unittests/test_adaptive_max_pool3d.py
浏览文件 @
ebc3f43d
...
...
@@ -16,10 +16,9 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
check_out_dtype
from
op_test
import
check_out_dtype
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
paddle.nn.functional
as
F
...
...
python/paddle/fluid/tests/unittests/test_add_position_encoding_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
math
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_addmm_op.py
浏览文件 @
ebc3f43d
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_affine_channel_op.py
浏览文件 @
ebc3f43d
...
...
@@ -18,7 +18,6 @@ Unit testing for affine_channel_op
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_affine_grid_function.py
浏览文件 @
ebc3f43d
...
...
@@ -14,10 +14,9 @@
import
paddle
import
numpy
as
np
from
paddle
import
fluid
,
nn
from
paddle
import
fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.nn.functional
as
F
import
paddle.fluid.initializer
as
I
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_allgather.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
paddle
from
test_collective_base
import
TestDistBase
...
...
python/paddle/fluid/tests/unittests/test_amp_check_finite_and_scale_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,7 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
,
skip_check_grad_ci
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
import
paddle.fluid.contrib.mixed_precision.amp_nn
as
amp_nn
...
...
python/paddle/fluid/tests/unittests/test_anchor_generator_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
sys
import
math
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_arg_min_max_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
Program
,
program_guard
from
test_attribute_var
import
UnittestBase
...
...
python/paddle/fluid/tests/unittests/test_argsort_op.py
浏览文件 @
ebc3f43d
...
...
@@ -15,12 +15,10 @@
import
unittest
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
numpy
as
np
import
six
import
paddle.fluid.core
as
core
from
paddle.fluid
import
ParamAttr
from
paddle.fluid.framework
import
Program
,
grad_var_name
from
paddle.fluid.executor
import
Executor
from
paddle.fluid.backward
import
append_backward
...
...
python/paddle/fluid/tests/unittests/test_array_read_write_op.py
浏览文件 @
ebc3f43d
...
...
@@ -21,7 +21,7 @@ import paddle.fluid.layers as layers
from
paddle.fluid.executor
import
Executor
from
paddle.fluid.backward
import
append_backward
from
paddle.fluid.framework
import
default_main_program
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_ascend_trigger.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_assign_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,9 +17,8 @@ import numpy as np
import
unittest
import
paddle
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.backward
import
append_backward
import
paddle.fluid.framework
as
framework
import
gradient_checker
...
...
python/paddle/fluid/tests/unittests/test_assign_pos_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,10 +17,6 @@ import numpy as np
import
unittest
import
paddle
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid.backward
import
append_backward
from
paddle.distributed.models.moe
import
utils
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_atan2_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,11 +17,7 @@ import unittest
from
op_test
import
OpTest
import
paddle
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
compiler
,
Program
,
program_guard
paddle
.
enable_static
()
np
.
random
.
seed
(
0
)
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_autoconvert.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
paddle.fluid
as
fluid
from
test_parallel_dygraph_dataparallel
import
TestMultipleGpus
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_completion.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
unittest.mock
from
io
import
StringIO
import
paddle
import
paddle.nn
as
nn
...
...
@@ -23,14 +22,9 @@ import paddle.nn.functional as F
import
paddle.utils
as
utils
import
paddle.tensor
as
tensor
from
paddle.fluid
import
layers
from
paddle.nn.layer.transformer
import
_convert_param_attr_to_list
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.completion
import
Completer
from
paddle.distributed.auto_parallel.utils
import
check_distributed_attr_for_program
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.utils
import
append_distributed_attr_suffix
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
from
paddle.distributed.auto_parallel.dist_context
import
set_default_distributed_context
paddle
.
enable_static
()
_global_parallel_strategy
=
None
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_completion_gpt.py
浏览文件 @
ebc3f43d
...
...
@@ -13,25 +13,18 @@
# limitations under the License.
import
collections
import
math
import
unittest
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
import
paddle.tensor
as
tensor
import
paddle.utils
as
utils
from
paddle.fluid
import
layers
from
paddle.fluid.framework
import
_non_static_mode
from
paddle.nn.layer.transformer
import
_convert_param_attr_to_list
from
paddle.fluid.initializer
import
Normal
,
Constant
,
NumpyArrayInitializer
from
paddle.distributed.fleet
import
fleet
import
paddle.static
as
static
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.completion
import
Completer
from
paddle.distributed.auto_parallel.utils
import
check_distributed_attr_for_program
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_cost_model.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
copy
import
paddle
import
paddle.nn
as
nn
import
paddle.static
as
static
...
...
@@ -29,7 +28,6 @@ from paddle.distributed.auto_parallel.parallelizer import AutoParallelizer
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.cost_model
import
estimate_cost
import
paddle.fluid.core
as
core
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
paddle
.
enable_static
()
_global_parallel_strategy
=
"dp_mp_pp"
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_data_unshard.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
paddle.fluid
as
fluid
from
test_parallel_dygraph_dataparallel
import
TestMultipleGpus
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_dist_tensor.py
浏览文件 @
ebc3f43d
...
...
@@ -16,7 +16,6 @@ import copy
import
unittest
import
paddle
from
paddle.fluid
import
core
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.completion
import
Completer
from
paddle.distributed
import
fleet
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_graph.py
浏览文件 @
ebc3f43d
...
...
@@ -13,10 +13,6 @@
# limitations under the License.
import
unittest
import
os
import
json
from
paddle.distributed.auto_parallel.graph
import
Node
from
paddle.distributed.auto_parallel.graph
import
Edge
from
paddle.distributed.auto_parallel.graph
import
Graph
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_mapper.py
浏览文件 @
ebc3f43d
...
...
@@ -16,22 +16,17 @@ import tempfile
import
unittest
import
os
import
json
import
collections
import
math
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid
as
fluid
import
paddle.nn.functional
as
F
import
paddle.tensor
as
tensor
import
paddle.utils
as
utils
import
paddle.static
as
static
from
paddle.fluid
import
core
from
paddle.fluid
import
layers
from
paddle.fluid.framework
import
_non_static_mode
from
paddle.nn.layer.transformer
import
_convert_param_attr_to_list
from
paddle.fluid.initializer
import
Normal
,
Constant
,
NumpyArrayInitializer
from
paddle.fluid.initializer
import
NumpyArrayInitializer
from
paddle.distributed
import
fleet
from
paddle.distributed.fleet
import
auto
...
...
@@ -40,15 +35,7 @@ from paddle.distributed.auto_parallel.parallelizer import AutoParallelizer
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.process_group
import
get_all_process_groups
from
paddle.distributed.auto_parallel.process_group
import
new_process_group
from
paddle.distributed.auto_parallel.cluster
import
Cluster
from
paddle.distributed.auto_parallel.cluster
import
DeviceType
from
paddle.distributed.auto_parallel.cluster
import
LinkType
from
paddle.distributed.auto_parallel.utils
import
check_distributed_attr_for_program
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.mapper
import
build_process_graph
from
paddle.distributed.auto_parallel.mapper
import
build_cluster_graph
from
paddle.distributed.auto_parallel.mapper
import
mapping
from
paddle.distributed.auto_parallel.mapper
import
get_dtype_bytes
from
paddle.distributed.auto_parallel.mapper
import
get_comm_volume
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_partitioner.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
unittest.mock
from
io
import
StringIO
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
...
...
@@ -24,12 +22,8 @@ import paddle.nn.functional as F
import
paddle.utils
as
utils
import
paddle.tensor
as
tensor
from
paddle.fluid
import
layers
from
paddle.nn.layer.transformer
import
_convert_param_attr_to_list
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.completion
import
Completer
from
paddle.distributed.auto_parallel.utils
import
check_distributed_attr_for_program
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.utils
import
append_distributed_attr_suffix
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
from
paddle.distributed
import
fleet
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_partitioner_gpt.py
浏览文件 @
ebc3f43d
...
...
@@ -13,26 +13,18 @@
# limitations under the License.
import
collections
import
math
import
unittest
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
import
paddle.tensor
as
tensor
import
paddle.utils
as
utils
from
paddle.fluid
import
layers
from
paddle.fluid.framework
import
_non_static_mode
from
paddle.nn.layer.transformer
import
_convert_param_attr_to_list
from
paddle.fluid.initializer
import
Normal
,
Constant
,
NumpyArrayInitializer
from
paddle.distributed
import
fleet
import
paddle.static
as
static
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.completion
import
Completer
from
paddle.distributed.auto_parallel.utils
import
check_distributed_attr_for_program
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.parallelizer
import
AutoParallelizer
from
paddle.distributed.auto_parallel.utils
import
_get_comm_group
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard.py
浏览文件 @
ebc3f43d
...
...
@@ -27,7 +27,6 @@ from paddle.distributed.auto_parallel.parallelizer import AutoParallelizer
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.process_group
import
_g_process_group_map
,
ProcessGroup
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
paddle
.
enable_static
()
_global_parallel_strategy
=
None
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_dpmppp.py
浏览文件 @
ebc3f43d
...
...
@@ -26,7 +26,6 @@ from paddle.distributed import fleet
from
paddle.distributed.auto_parallel.parallelizer
import
AutoParallelizer
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.cost
import
CostEstimator
from
paddle.distributed.auto_parallel.cluster
import
Cluster
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_mppp.py
浏览文件 @
ebc3f43d
...
...
@@ -26,7 +26,6 @@ from paddle.distributed import fleet
from
paddle.distributed.auto_parallel.parallelizer
import
AutoParallelizer
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.utils
import
print_program_with_dist_attr
from
paddle.distributed.auto_parallel.cost
import
CostEstimator
from
paddle.distributed.auto_parallel.cluster
import
Cluster
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_reshard_serial.py
浏览文件 @
ebc3f43d
...
...
@@ -26,9 +26,6 @@ import paddle.utils as utils
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.dist_context
import
get_default_distributed_context
from
paddle.distributed
import
fleet
from
paddle.distributed.auto_parallel.partitioner
import
Partitioner
from
paddle.distributed.auto_parallel.reshard
import
Resharder
from
paddle.distributed.auto_parallel.process_group
import
new_process_group
paddle
.
enable_static
()
_global_parallel_strategy
=
None
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_save_load.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
paddle.fluid
as
fluid
from
test_parallel_dygraph_dataparallel
import
TestMultipleGpus
...
...
python/paddle/fluid/tests/unittests/test_auto_parallel_searcher.py
浏览文件 @
ebc3f43d
...
...
@@ -12,9 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
import
copy
import
json
import
unittest
import
paddle
...
...
@@ -22,13 +19,9 @@ import paddle.nn as nn
import
paddle.static
as
static
import
paddle.nn.functional
as
F
import
paddle.utils
as
utils
from
paddle.distributed
import
fleet
from
paddle.distributed.fleet
import
auto
from
paddle.distributed.auto_parallel.cluster
import
Cluster
from
paddle.distributed.auto_parallel.utils
import
SerialProgramInfo
from
paddle.distributed.auto_parallel.planner
import
PlanSpace
,
PlanFilter
from
paddle.distributed.auto_parallel.planner
import
PlanSpace
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
from
paddle.distributed.auto_parallel.utils
import
get_all_distributed_main_program
from
paddle.distributed.auto_parallel.dist_attribute
import
TensorDistributedAttribute
from
paddle.distributed.auto_parallel.dist_attribute
import
OperatorDistributedAttribute
from
paddle.distributed.auto_parallel.utils
import
update_op_dims_mapping_by_default_dist_impl
...
...
python/paddle/fluid/tests/unittests/test_auto_search_dist_matmul_op.py
浏览文件 @
ebc3f43d
...
...
@@ -12,9 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
unittest
import
copy
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
...
...
@@ -23,11 +20,8 @@ import paddle.nn.functional as F
import
paddle.utils
as
utils
import
paddle.fluid.core
as
core
from
paddle.fluid
import
layers
from
paddle.distributed.auto_parallel.operators.common
import
DistributedOperatorImplContainer
from
paddle.distributed.auto_parallel.operators.common
import
DistributedOperatorImpl
from
paddle.distributed.auto_parallel.operators.common
import
get_distributed_operator_impl_container
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
,
DistributedOperatorContext
from
paddle.distributed.auto_parallel.dist_attribute
import
OperatorDistributedAttribute
,
TensorDistributedAttribute
from
paddle.distributed.auto_parallel.dist_attribute
import
OperatorDistributedAttribute
from
paddle.distributed.auto_parallel.dist_op
import
DistributedOperator
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_auto_search_dist_op.py
浏览文件 @
ebc3f43d
...
...
@@ -12,9 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
unittest
import
copy
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
...
...
@@ -23,11 +20,8 @@ import paddle.nn.functional as F
import
paddle.utils
as
utils
import
paddle.fluid.core
as
core
from
paddle.fluid
import
layers
from
paddle.distributed.auto_parallel.operators.common
import
DistributedOperatorImplContainer
from
paddle.distributed.auto_parallel.operators.common
import
DistributedOperatorImpl
from
paddle.distributed.auto_parallel.operators.common
import
get_distributed_operator_impl_container
from
paddle.distributed.auto_parallel.dist_context
import
DistributedContext
,
DistributedOperatorContext
from
paddle.distributed.auto_parallel.dist_attribute
import
OperatorDistributedAttribute
,
TensorDistributedAttribute
from
paddle.distributed.auto_parallel.dist_attribute
import
OperatorDistributedAttribute
from
paddle.distributed.auto_parallel.dist_op
import
DistributedOperator
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_backward_infer_var_data_type_shape.py
浏览文件 @
ebc3f43d
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
decorator_helper
import
prog_scope
import
unittest
import
paddle.fluid
as
fluid
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_basic_rnn_name.py
浏览文件 @
ebc3f43d
...
...
@@ -13,15 +13,10 @@
# limitations under the License.
import
unittest
import
numpy
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
paddle.fluid.core
as
core
from
paddle.fluid.contrib.layers
import
basic_gru
,
basic_lstm
from
paddle.fluid.executor
import
Executor
from
paddle.fluid
import
framework
from
test_imperative_base
import
new_program_scope
import
numpy
as
np
class
TestBasicGRUApiName
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_batch_fc_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,11 +14,8 @@
import
unittest
import
numpy
as
np
import
random
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_batch_norm_op_v2.py
浏览文件 @
ebc3f43d
...
...
@@ -12,14 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
import
unittest
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
,
_set_use_system_allocator
from
paddle.fluid.framework
import
grad_var_name
,
_test_eager_guard
from
paddle.fluid.framework
import
_test_eager_guard
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_batch_sampler.py
浏览文件 @
ebc3f43d
...
...
@@ -15,10 +15,8 @@
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.io
import
BatchSampler
,
Dataset
,
Sampler
,
SequenceSampler
,
\
RandomSampler
,
WeightedRandomSampler
from
paddle.io
import
DistributedBatchSampler
IMAGE_SIZE
=
32
...
...
python/paddle/fluid/tests/unittests/test_bce_with_logits_loss.py
浏览文件 @
ebc3f43d
...
...
@@ -16,7 +16,6 @@ import paddle
import
paddle.fluid
as
fluid
import
numpy
as
np
import
unittest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_beam_search_op.py
浏览文件 @
ebc3f43d
...
...
@@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
logging
from
paddle.fluid.op
import
Operator
,
DynamicRecurrentOp
from
paddle.fluid.op
import
Operator
import
paddle.fluid.core
as
core
import
unittest
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_bernoulli_op.py
浏览文件 @
ebc3f43d
...
...
@@ -16,7 +16,6 @@ import unittest
import
paddle
from
op_test
import
OpTest
import
numpy
as
np
import
os
def
output_hist
(
out
):
...
...
python/paddle/fluid/tests/unittests/test_bicubic_interp_op.py
浏览文件 @
ebc3f43d
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
paddle
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_bicubic_interp_v2_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,7 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
,
_in_eager_without_dygraph_check
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
import
paddle
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_bilinear_api.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_bincount_op.py
浏览文件 @
ebc3f43d
...
...
@@ -18,8 +18,6 @@ import tempfile
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
Program
,
program_guard
from
op_test
import
OpTest
import
paddle.inference
as
paddle_infer
from
paddle.fluid.framework
import
in_dygraph_mode
...
...
python/paddle/fluid/tests/unittests/test_bmm_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,8 +17,6 @@ import numpy as np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
import
paddle.tensor
as
tensor
from
paddle.fluid
import
Program
,
program_guard
class
TestBmmOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_box_clip_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,10 +14,7 @@
import
unittest
import
numpy
as
np
import
sys
import
math
from
op_test
import
OpTest
import
copy
def
box_clip
(
input_box
,
im_info
,
output_box
):
...
...
python/paddle/fluid/tests/unittests/test_box_coder_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
sys
import
math
from
op_test
import
OpTest
import
paddle
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_box_decoder_and_assign_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
sys
import
math
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_boxps.py
浏览文件 @
ebc3f43d
...
...
@@ -14,10 +14,6 @@
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
numpy
as
np
import
os
import
shutil
import
paddle.fluid.core
as
core
import
unittest
from
paddle.fluid.layers.nn
import
_pull_box_sparse
...
...
python/paddle/fluid/tests/unittests/test_broadcast_shape.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_broadcast_tensors_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import numpy as np
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
test_collective_base
import
TestDistBase
import
random
...
...
python/paddle/fluid/tests/unittests/test_broadcast_to_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,9 +14,8 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
import
paddle
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_bucketize_api.py
浏览文件 @
ebc3f43d
...
...
@@ -12,14 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
re
import
X
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
Program
,
program_guard
np
.
random
.
seed
(
10
)
...
...
python/paddle/fluid/tests/unittests/test_buffer_shared_memory_reuse_pass.py
浏览文件 @
ebc3f43d
...
...
@@ -14,12 +14,10 @@
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid.framework
import
Parameter
import
numpy
as
np
from
simple_nets
import
simple_fc_net
import
random
import
unittest
import
os
batch_size
=
32
...
...
python/paddle/fluid/tests/unittests/test_c_comm_init_all_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_c_embedding_op.py
浏览文件 @
ebc3f43d
...
...
@@ -13,11 +13,6 @@
# limitations under the License.
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.framework
import
core
from
paddle.fluid.tests.unittests.c_embedding_op_base
import
TestCEmbeddingCPU
,
TestCEmbeddingOpBase
,
TestCEmbeddingOpFP32
TestCEmbeddingCPU
()
...
...
python/paddle/fluid/tests/unittests/test_cast_op.py
浏览文件 @
ebc3f43d
...
...
@@ -18,7 +18,7 @@ import numpy as np
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
from
op_test
import
OpTest
,
convert_uint16_to_float
,
convert_float_to_uint16
from
paddle.fluid.framework
import
_test_eager_guard
import
gradient_checker
...
...
python/paddle/fluid/tests/unittests/test_center_loss.py
浏览文件 @
ebc3f43d
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_checkpoint_saver.py
浏览文件 @
ebc3f43d
...
...
@@ -13,15 +13,9 @@
# limitations under the License.
import
unittest
import
paddle.fluid
as
fluid
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
from
paddle.fluid.incubate.fleet.collective
import
CollectiveOptimizer
,
fleet
from
paddle.fluid.incubate.checkpoint.auto_checkpoint
import
ExeTrainStatus
from
paddle.fluid.incubate.checkpoint.checkpoint_saver
import
CheckpointSaver
import
os
import
sys
from
paddle.distributed.fleet.utils.fs
import
LocalFS
,
HDFSClient
from
paddle.distributed.fleet.utils.fs
import
HDFSClient
from
paddle.fluid.incubate.checkpoint.checkpoint_saver
import
CheckpointSaver
...
...
python/paddle/fluid/tests/unittests/test_cholesky_op.py
浏览文件 @
ebc3f43d
...
...
@@ -128,10 +128,8 @@ class TestCholeskySingularAPI(unittest.TestCase):
fetch_list
=
[
result
])
except
RuntimeError
as
ex
:
print
(
"The mat is singular"
)
pass
except
ValueError
as
ex
:
print
(
"The mat is singular"
)
pass
def
test_static
(
self
):
for
place
in
self
.
places
:
...
...
@@ -148,10 +146,8 @@ class TestCholeskySingularAPI(unittest.TestCase):
result
=
paddle
.
cholesky
(
input
)
except
RuntimeError
as
ex
:
print
(
"The mat is singular"
)
pass
except
ValueError
as
ex
:
print
(
"The mat is singular"
)
pass
if
__name__
==
"__main__"
:
...
...
python/paddle/fluid/tests/unittests/test_chunk_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
numpy
as
np
from
paddle.fluid
import
Program
,
program_guard
from
paddle
import
fluid
...
...
python/paddle/fluid/tests/unittests/test_class_center_sample_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
math
import
random
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_collect_fpn_proposals_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
math
import
sys
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_collective_api_base.py
浏览文件 @
ebc3f43d
...
...
@@ -14,19 +14,14 @@
import
numpy
as
np
import
unittest
import
time
import
argparse
import
os
import
sys
import
subprocess
import
traceback
import
functools
import
pickle
import
tempfile
from
contextlib
import
closing
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.unique_name
as
nameGen
from
paddle.fluid
import
core
...
...
@@ -157,7 +152,6 @@ def runtime_main(test_class, col_type):
model
.
run_trainer
(
args
)
import
paddle.compat
as
cpt
import
socket
from
contextlib
import
closing
...
...
python/paddle/fluid/tests/unittests/test_collective_base.py
浏览文件 @
ebc3f43d
...
...
@@ -15,12 +15,9 @@
import
numpy
as
np
import
unittest
import
time
import
argparse
import
os
import
sys
import
subprocess
import
traceback
import
functools
import
pickle
import
tempfile
from
contextlib
import
closing
...
...
@@ -130,7 +127,6 @@ def runtime_main(test_class, col_type, sub_type):
model
.
run_trainer
(
args
)
import
paddle.compat
as
cpt
import
socket
from
contextlib
import
closing
...
...
python/paddle/fluid/tests/unittests/test_communicator_async.py
浏览文件 @
ebc3f43d
...
...
@@ -15,8 +15,6 @@
import
os
import
unittest
import
time
import
threading
import
numpy
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_communicator_geo.py
浏览文件 @
ebc3f43d
...
...
@@ -15,7 +15,6 @@
import
os
import
sys
import
time
import
threading
import
subprocess
import
unittest
import
numpy
...
...
python/paddle/fluid/tests/unittests/test_communicator_ps_gpu.py
浏览文件 @
ebc3f43d
...
...
@@ -15,8 +15,6 @@
import
os
import
unittest
import
time
import
threading
import
numpy
import
tempfile
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_compare_reduce_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
def
create_test_not_equal_class
(
op_type
,
typename
,
callback
):
...
...
python/paddle/fluid/tests/unittests/test_complex_getitem.py
浏览文件 @
ebc3f43d
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
paddle
import
numpy
as
np
import
paddle.fluid
as
fluid
import
paddle.fluid.dygraph
as
dg
...
...
python/paddle/fluid/tests/unittests/test_complex_kron.py
浏览文件 @
ebc3f43d
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle
import
fluid
,
tensor
from
paddle
import
fluid
import
paddle
import
paddle.fluid.dygraph
as
dg
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_complex_trace_layer.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
paddle
from
numpy.random
import
random
as
rand
from
paddle
import
tensor
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_concat_op.py
浏览文件 @
ebc3f43d
...
...
@@ -16,7 +16,7 @@ import unittest
import
numpy
as
np
from
paddle.fluid.tests.unittests.op_test
import
OpTest
,
skip_check_grad_ci
,
convert_float_to_uint16
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
,
core
from
paddle.fluid
import
Program
,
core
,
program_guard
from
paddle.fluid.framework
import
_test_eager_guard
import
paddle
import
gradient_checker
...
...
python/paddle/fluid/tests/unittests/test_conj_op.py
浏览文件 @
ebc3f43d
...
...
@@ -15,12 +15,10 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
paddle.fluid
import
Program
,
program_guard
import
paddle.fluid.dygraph
as
dg
import
paddle.static
as
static
from
numpy.random
import
random
as
rand
...
...
python/paddle/fluid/tests/unittests/test_conv1d_layer.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import paddle
from
paddle
import
fluid
,
nn
import
paddle.fluid.dygraph
as
dg
import
paddle.nn.functional
as
F
import
paddle.fluid.initializer
as
I
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_conv1d_transpose_layer.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import paddle
from
paddle
import
fluid
,
nn
import
paddle.fluid.dygraph
as
dg
import
paddle.nn.functional
as
F
import
paddle.fluid.initializer
as
I
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_conv2d_api.py
浏览文件 @
ebc3f43d
...
...
@@ -20,8 +20,6 @@ import paddle
paddle
.
enable_static
()
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
paddle.fluid
import
Program
,
program_guard
class
TestConv2DAPI
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_conv2d_op_depthwise_conv.py
浏览文件 @
ebc3f43d
...
...
@@ -19,9 +19,6 @@ import paddle
paddle
.
enable_static
()
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
paddle.fluid
import
Program
,
program_guard
from
test_conv2d_op
import
TestConv2DOp
,
TestConv2DOp_v2
,
create_test_padding_SAME_class
,
create_test_padding_VALID_class
,
create_test_channel_last_class
,
create_test_cudnn_padding_SAME_class
,
create_test_cudnn_channel_last_class
#----------------TestDepthwiseConv -----
...
...
python/paddle/fluid/tests/unittests/test_conv2d_transpose_op_depthwise_conv.py
浏览文件 @
ebc3f43d
...
...
@@ -18,9 +18,6 @@ import numpy as np
import
paddle
paddle
.
enable_static
()
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
test_conv2d_transpose_op
import
TestConv2DTransposeOp
...
...
python/paddle/fluid/tests/unittests/test_conv3d_transpose_op.py
浏览文件 @
ebc3f43d
...
...
@@ -19,7 +19,6 @@ import paddle
paddle
.
enable_static
()
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_conv3d_transpose_part2_op.py
浏览文件 @
ebc3f43d
...
...
@@ -17,7 +17,6 @@ import numpy as np
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
test_conv3d_transpose_op
import
TestConv3DTransposeOp
...
...
python/paddle/fluid/tests/unittests/test_corr.py
浏览文件 @
ebc3f43d
...
...
@@ -15,10 +15,7 @@
import
paddle.fluid
as
fluid
import
unittest
import
numpy
as
np
import
six
import
paddle
import
warnings
import
sys
np_minor_version
=
int
((
np
.
__version__
).
split
(
'.'
)[
1
])
...
...
python/paddle/fluid/tests/unittests/test_cosine_similarity_api.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
...
...
python/paddle/fluid/tests/unittests/test_count_nonzero_api.py
浏览文件 @
ebc3f43d
...
...
@@ -15,9 +15,7 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
Program
,
program_guard
np
.
random
.
seed
(
10
)
...
...
python/paddle/fluid/tests/unittests/test_cov.py
浏览文件 @
ebc3f43d
...
...
@@ -15,9 +15,8 @@
import
paddle.fluid
as
fluid
import
unittest
import
numpy
as
np
import
six
import
paddle
from
paddle.fluid.framework
import
_test_eager_guard
,
in_dygraph_mode
from
paddle.fluid.framework
import
_test_eager_guard
def
numpy_cov
(
np_arr
,
rowvar
=
True
,
ddof
=
1
,
fweights
=
None
,
aweights
=
None
):
...
...
python/paddle/fluid/tests/unittests/test_create_global_var.py
浏览文件 @
ebc3f43d
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
,
shutil
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_create_parameter.py
浏览文件 @
ebc3f43d
...
...
@@ -12,12 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
,
shutil
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid
import
ParamAttr
,
initializer
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_cross_op.py
浏览文件 @
ebc3f43d
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/test_crypto.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_ctc_align.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_graph.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_graph_partial_graph_static.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_max_memory_allocated.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_memory_allocated.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_memory_reserved.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cuda_random_seed.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cumprod_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cumsum_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_custom_grad_input.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_cvm_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_data_generator.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_data_norm_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dataloader_autotune.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dataloader_dataset.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dataloader_early_reset.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dataset.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dataset_consistency_inspection.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_debugger.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_default_dtype.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deform_conv2d.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deformable_conv_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deformable_conv_v1_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deformable_psroi_pooling.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deg2rad.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_density_prior_box_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_deprecated_decorator.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dequantize_log_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_desc_clone.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_detection_map_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_determinant_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_device_guard.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_diag.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_diag_embed.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_diag_v2.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_diagonal_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_diff_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_digamma_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_directory_migration.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_disable_signal_handler.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_base.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_async.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto_async.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_auto_geo.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_geo.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_a_sync_optimizer_sync.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_base.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_decay.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_gloo.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_heter_base.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_infer.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps11.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps12.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps13.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps2.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps3.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps4.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps5.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_ps6.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_simnet.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_fleet_trainer_desc_config.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_save_load.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_load_ps0.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_load_ps1.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_adagrad.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_adam.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_ftrl.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_momentum.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_rmsprop.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_sparse_tensor_load_sgd.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_transpiler.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dist_tree_index.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_distribute_fpn_proposals_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dot_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_downpoursgd.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dropout_nd_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dropout_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dygraph_multi_forward.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_dygraph_weight_norm.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_conditional_block.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_dynamic_rnn_base.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_mnist.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_padding_rnn.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_recurrent_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_deletion_while_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_run_program.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eager_trace_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_egr_code_generate_api.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_egr_python_api.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_egr_string_tensor_api.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eig_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eigh_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eigvals_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_eigvalsh_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_einsum.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_einsum_v2.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_add_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_floordiv_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_max_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_mod_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_mul_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_elementwise_sub_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_empty_like_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_empty_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_entry_attr2.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_executor_and_mul.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_executor_check_feed.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_executor_feed_non_tensor.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_executor_return_tensor_not_overwriting.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_expand_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_expand_v2_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_exponential_op.py
浏览文件 @
ebc3f43d
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录