Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
0773639a
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0773639a
编写于
10月 11, 2022
作者:
N
Nyakku Shigure
提交者:
GitHub
10月 11, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CodeStyle][F401] remove unused import in unittests/test_[f-j] (#46697)
上级
ebc3f43d
变更
148
展开全部
隐藏空白更改
内联
并排
Showing
148 changed file
with
40 addition
and
345 deletion
+40
-345
python/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
...n/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_faster_tokenizer_op.py
.../paddle/fluid/tests/unittests/test_faster_tokenizer_op.py
+1
-3
python/paddle/fluid/tests/unittests/test_feed_data_check_shape_type.py
.../fluid/tests/unittests/test_feed_data_check_shape_type.py
+0
-1
python/paddle/fluid/tests/unittests/test_fetch_lod_tensor_array.py
...ddle/fluid/tests/unittests/test_fetch_lod_tensor_array.py
+0
-2
python/paddle/fluid/tests/unittests/test_fetch_unmerged.py
python/paddle/fluid/tests/unittests/test_fetch_unmerged.py
+0
-2
python/paddle/fluid/tests/unittests/test_fetch_var.py
python/paddle/fluid/tests/unittests/test_fetch_var.py
+0
-1
python/paddle/fluid/tests/unittests/test_fill_any_like_op.py
python/paddle/fluid/tests/unittests/test_fill_any_like_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_fill_any_op.py
python/paddle/fluid/tests/unittests/test_fill_any_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_fill_constant_batch_size_like.py
...uid/tests/unittests/test_fill_constant_batch_size_like.py
+0
-3
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_diagonal_tensor_op.py
...dle/fluid/tests/unittests/test_fill_diagonal_tensor_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_filter_by_instag_op.py
.../paddle/fluid/tests/unittests/test_filter_by_instag_op.py
+0
-6
python/paddle/fluid/tests/unittests/test_flatten_contiguous_range_op.py
...fluid/tests/unittests/test_flatten_contiguous_range_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet.py
python/paddle/fluid/tests/unittests/test_fleet.py
+0
-2
python/paddle/fluid/tests/unittests/test_fleet_ascend_utils.py
...n/paddle/fluid/tests/unittests/test_fleet_ascend_utils.py
+0
-6
python/paddle/fluid/tests/unittests/test_fleet_auto.py
python/paddle/fluid/tests/unittests/test_fleet_auto.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_base.py
python/paddle/fluid/tests/unittests/test_fleet_base.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_base_3.py
python/paddle/fluid/tests/unittests/test_fleet_base_3.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_base_4.py
python/paddle/fluid/tests/unittests/test_fleet_base_4.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_base_single.py
...on/paddle/fluid/tests/unittests/test_fleet_base_single.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_elastic_collective.py
...le/fluid/tests/unittests/test_fleet_elastic_collective.py
+0
-5
python/paddle/fluid/tests/unittests/test_fleet_elastic_init.py
...n/paddle/fluid/tests/unittests/test_fleet_elastic_init.py
+0
-4
python/paddle/fluid/tests/unittests/test_fleet_elastic_manager.py
...addle/fluid/tests/unittests/test_fleet_elastic_manager.py
+0
-3
python/paddle/fluid/tests/unittests/test_fleet_executor_utils.py
...paddle/fluid/tests/unittests/test_fleet_executor_utils.py
+1
-2
python/paddle/fluid/tests/unittests/test_fleet_metric.py
python/paddle/fluid/tests/unittests/test_fleet_metric.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_nocvm_1.py
python/paddle/fluid/tests/unittests/test_fleet_nocvm_1.py
+0
-2
python/paddle/fluid/tests/unittests/test_fleet_rolemaker.py
python/paddle/fluid/tests/unittests/test_fleet_rolemaker.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_2.py
...on/paddle/fluid/tests/unittests/test_fleet_rolemaker_2.py
+0
-2
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_3.py
...on/paddle/fluid/tests/unittests/test_fleet_rolemaker_3.py
+0
-2
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_4.py
...on/paddle/fluid/tests/unittests/test_fleet_rolemaker_4.py
+0
-11
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_init.py
...paddle/fluid/tests/unittests/test_fleet_rolemaker_init.py
+0
-4
python/paddle/fluid/tests/unittests/test_fleet_runtime.py
python/paddle/fluid/tests/unittests/test_fleet_runtime.py
+0
-1
python/paddle/fluid/tests/unittests/test_fleet_unitaccessor.py
...n/paddle/fluid/tests/unittests/test_fleet_unitaccessor.py
+0
-2
python/paddle/fluid/tests/unittests/test_fleet_util.py
python/paddle/fluid/tests/unittests/test_fleet_util.py
+1
-3
python/paddle/fluid/tests/unittests/test_flip.py
python/paddle/fluid/tests/unittests/test_flip.py
+0
-1
python/paddle/fluid/tests/unittests/test_fold_op.py
python/paddle/fluid/tests/unittests/test_fold_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_fs_interface.py
python/paddle/fluid/tests/unittests/test_fs_interface.py
+1
-5
python/paddle/fluid/tests/unittests/test_fsp_op.py
python/paddle/fluid/tests/unittests/test_fsp_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_full_like_op.py
python/paddle/fluid/tests/unittests/test_full_like_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_full_op.py
python/paddle/fluid/tests/unittests/test_full_op.py
+1
-4
python/paddle/fluid/tests/unittests/test_function_hook.py
python/paddle/fluid/tests/unittests/test_function_hook.py
+1
-2
python/paddle/fluid/tests/unittests/test_functional_conv1d.py
...on/paddle/fluid/tests/unittests/test_functional_conv1d.py
+0
-2
python/paddle/fluid/tests/unittests/test_functional_conv1d_transpose.py
...fluid/tests/unittests/test_functional_conv1d_transpose.py
+0
-2
python/paddle/fluid/tests/unittests/test_fuse_bn_add_act_pass.py
...paddle/fluid/tests/unittests/test_fuse_bn_add_act_pass.py
+0
-1
python/paddle/fluid/tests/unittests/test_fuse_gemm_epilogue_pass.py
...dle/fluid/tests/unittests/test_fuse_gemm_epilogue_pass.py
+0
-1
python/paddle/fluid/tests/unittests/test_fuse_optimizer_pass.py
.../paddle/fluid/tests/unittests/test_fuse_optimizer_pass.py
+1
-1
python/paddle/fluid/tests/unittests/test_fuse_relu_depthwise_conv_pass.py
...uid/tests/unittests/test_fuse_relu_depthwise_conv_pass.py
+0
-2
python/paddle/fluid/tests/unittests/test_fused_attention_op.py
...n/paddle/fluid/tests/unittests/test_fused_attention_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_fused_attention_op_api.py
...ddle/fluid/tests/unittests/test_fused_attention_op_api.py
+1
-6
python/paddle/fluid/tests/unittests/test_fused_bias_dropout_residual_layer_norm_op.py
...ittests/test_fused_bias_dropout_residual_layer_norm_op.py
+1
-7
python/paddle/fluid/tests/unittests/test_fused_bias_dropout_residual_layer_norm_op_api.py
...sts/test_fused_bias_dropout_residual_layer_norm_op_api.py
+1
-6
python/paddle/fluid/tests/unittests/test_fused_emb_seq_pool_op.py
...addle/fluid/tests/unittests/test_fused_emb_seq_pool_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_fused_feedforward_op.py
...paddle/fluid/tests/unittests/test_fused_feedforward_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_fused_gate_attention_op.py
...dle/fluid/tests/unittests/test_fused_gate_attention_op.py
+1
-3
python/paddle/fluid/tests/unittests/test_fused_multi_transformer_int8_op.py
...d/tests/unittests/test_fused_multi_transformer_int8_op.py
+2
-10
python/paddle/fluid/tests/unittests/test_fused_multi_transformer_op.py
.../fluid/tests/unittests/test_fused_multi_transformer_op.py
+1
-9
python/paddle/fluid/tests/unittests/test_fused_multihead_matmul_op.py
...e/fluid/tests/unittests/test_fused_multihead_matmul_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_fused_token_prune_op.py
...paddle/fluid/tests/unittests/test_fused_token_prune_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_fusion_gru_op.py
python/paddle/fluid/tests/unittests/test_fusion_gru_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_fusion_seqconv_eltadd_relu_op.py
...uid/tests/unittests/test_fusion_seqconv_eltadd_relu_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_gaussian_random_op.py
...n/paddle/fluid/tests/unittests/test_gaussian_random_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_gcd.py
python/paddle/fluid/tests/unittests/test_gcd.py
+0
-2
python/paddle/fluid/tests/unittests/test_generate_mask_labels_op.py
...dle/fluid/tests/unittests/test_generate_mask_labels_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_generate_proposal_labels_op.py
...fluid/tests/unittests/test_generate_proposal_labels_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_generate_proposals_op.py
...addle/fluid/tests/unittests/test_generate_proposals_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_generate_proposals_v2_op.py
...le/fluid/tests/unittests/test_generate_proposals_v2_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_generator.py
python/paddle/fluid/tests/unittests/test_generator.py
+0
-1
python/paddle/fluid/tests/unittests/test_get_all_op_or_kernel_names.py
.../fluid/tests/unittests/test_get_all_op_or_kernel_names.py
+0
-1
python/paddle/fluid/tests/unittests/test_get_device_properties.py
...addle/fluid/tests/unittests/test_get_device_properties.py
+0
-1
python/paddle/fluid/tests/unittests/test_gpu_package_without_gpu_device.py
...id/tests/unittests/test_gpu_package_without_gpu_device.py
+0
-2
python/paddle/fluid/tests/unittests/test_grad_clip_minimize.py
...n/paddle/fluid/tests/unittests/test_grad_clip_minimize.py
+0
-4
python/paddle/fluid/tests/unittests/test_gradient_clip.py
python/paddle/fluid/tests/unittests/test_gradient_clip.py
+0
-1
python/paddle/fluid/tests/unittests/test_graph_reindex.py
python/paddle/fluid/tests/unittests/test_graph_reindex.py
+0
-1
python/paddle/fluid/tests/unittests/test_graph_send_recv_op.py
...n/paddle/fluid/tests/unittests/test_graph_send_recv_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_graph_send_ue_recv_op.py
...addle/fluid/tests/unittests/test_graph_send_ue_recv_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_graph_send_uv_op.py
python/paddle/fluid/tests/unittests/test_graph_send_uv_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_grid_sample_function.py
...paddle/fluid/tests/unittests/test_grid_sample_function.py
+1
-1
python/paddle/fluid/tests/unittests/test_group_norm_op.py
python/paddle/fluid/tests/unittests/test_group_norm_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_group_norm_op_v2.py
python/paddle/fluid/tests/unittests/test_group_norm_op_v2.py
+0
-4
python/paddle/fluid/tests/unittests/test_gru_op.py
python/paddle/fluid/tests/unittests/test_gru_op.py
+1
-2
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_gumbel_softmax_op.py
...on/paddle/fluid/tests/unittests/test_gumbel_softmax_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_histogram_op.py
python/paddle/fluid/tests/unittests/test_histogram_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
+0
-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_hybrid_parallel_topology.py
...le/fluid/tests/unittests/test_hybrid_parallel_topology.py
+0
-2
python/paddle/fluid/tests/unittests/test_identity_loss_op.py
python/paddle/fluid/tests/unittests/test_identity_loss_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_identity_op.py
python/paddle/fluid/tests/unittests/test_identity_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_base.py
python/paddle/fluid/tests/unittests/test_imperative_base.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_basic.py
python/paddle/fluid/tests/unittests/test_imperative_basic.py
+1
-2
python/paddle/fluid/tests/unittests/test_imperative_container_layerdict.py
...id/tests/unittests/test_imperative_container_layerdict.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_container_parameterlist.py
...ests/unittests/test_imperative_container_parameterlist.py
+1
-1
python/paddle/fluid/tests/unittests/test_imperative_data_loader_base.py
...fluid/tests/unittests/test_imperative_data_loader_base.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_data_loader_exception.py
.../tests/unittests/test_imperative_data_loader_exception.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_data_loader_exit_func.py
.../tests/unittests/test_imperative_data_loader_exit_func.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_data_loader_fds_clear.py
.../tests/unittests/test_imperative_data_loader_fds_clear.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_data_loader_process.py
...id/tests/unittests/test_imperative_data_loader_process.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_data_parallel.py
...le/fluid/tests/unittests/test_imperative_data_parallel.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_double_grad.py
...ddle/fluid/tests/unittests/test_imperative_double_grad.py
+1
-2
python/paddle/fluid/tests/unittests/test_imperative_gan.py
python/paddle/fluid/tests/unittests/test_imperative_gan.py
+1
-3
python/paddle/fluid/tests/unittests/test_imperative_gnn.py
python/paddle/fluid/tests/unittests/test_imperative_gnn.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_group.py
python/paddle/fluid/tests/unittests/test_imperative_group.py
+0
-7
python/paddle/fluid/tests/unittests/test_imperative_hook_for_layer.py
...e/fluid/tests/unittests/test_imperative_hook_for_layer.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_layers.py
...on/paddle/fluid/tests/unittests/test_imperative_layers.py
+1
-2
python/paddle/fluid/tests/unittests/test_imperative_lod_tensor_to_selected_rows.py
.../unittests/test_imperative_lod_tensor_to_selected_rows.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_mnist.py
python/paddle/fluid/tests/unittests/test_imperative_mnist.py
+1
-3
python/paddle/fluid/tests/unittests/test_imperative_mnist_sorted_gradient.py
.../tests/unittests/test_imperative_mnist_sorted_gradient.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_named_members.py
...le/fluid/tests/unittests/test_imperative_named_members.py
+1
-1
python/paddle/fluid/tests/unittests/test_imperative_optimizer.py
...paddle/fluid/tests/unittests/test_imperative_optimizer.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_optimizer_v2.py
...dle/fluid/tests/unittests/test_imperative_optimizer_v2.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_parallel_coalesce_split.py
...ests/unittests/test_imperative_parallel_coalesce_split.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_ptb_rnn_sorted_gradient.py
...ests/unittests/test_imperative_ptb_rnn_sorted_gradient.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_recurrent_usage.py
.../fluid/tests/unittests/test_imperative_recurrent_usage.py
+0
-4
python/paddle/fluid/tests/unittests/test_imperative_reinforcement.py
...le/fluid/tests/unittests/test_imperative_reinforcement.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_resnet.py
...on/paddle/fluid/tests/unittests/test_imperative_resnet.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_save_load.py
...paddle/fluid/tests/unittests/test_imperative_save_load.py
+1
-4
python/paddle/fluid/tests/unittests/test_imperative_save_load_v2.py
...dle/fluid/tests/unittests/test_imperative_save_load_v2.py
+1
-4
python/paddle/fluid/tests/unittests/test_imperative_se_resnext.py
...addle/fluid/tests/unittests/test_imperative_se_resnext.py
+0
-2
python/paddle/fluid/tests/unittests/test_imperative_selected_rows.py
...le/fluid/tests/unittests/test_imperative_selected_rows.py
+0
-1
python/paddle/fluid/tests/unittests/test_imperative_star_gan_with_gradient_penalty.py
...ittests/test_imperative_star_gan_with_gradient_penalty.py
+2
-2
python/paddle/fluid/tests/unittests/test_imperative_static_runner_mnist.py
...id/tests/unittests/test_imperative_static_runner_mnist.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_static_runner_while.py
...id/tests/unittests/test_imperative_static_runner_while.py
+0
-3
python/paddle/fluid/tests/unittests/test_imperative_transformer_sorted_gradient.py
.../unittests/test_imperative_transformer_sorted_gradient.py
+1
-1
python/paddle/fluid/tests/unittests/test_imperative_triple_grad.py
...ddle/fluid/tests/unittests/test_imperative_triple_grad.py
+1
-2
python/paddle/fluid/tests/unittests/test_index_add_op.py
python/paddle/fluid/tests/unittests/test_index_add_op.py
+1
-3
python/paddle/fluid/tests/unittests/test_index_select_op.py
python/paddle/fluid/tests/unittests/test_index_select_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_infer_no_need_buffer_slots.py
.../fluid/tests/unittests/test_infer_no_need_buffer_slots.py
+0
-1
python/paddle/fluid/tests/unittests/test_inference_api.py
python/paddle/fluid/tests/unittests/test_inference_api.py
+1
-2
python/paddle/fluid/tests/unittests/test_inference_model_io.py
...n/paddle/fluid/tests/unittests/test_inference_model_io.py
+0
-1
python/paddle/fluid/tests/unittests/test_inner.py
python/paddle/fluid/tests/unittests/test_inner.py
+1
-1
python/paddle/fluid/tests/unittests/test_inplace.py
python/paddle/fluid/tests/unittests/test_inplace.py
+1
-2
python/paddle/fluid/tests/unittests/test_inplace_abn_op.py
python/paddle/fluid/tests/unittests/test_inplace_abn_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_inplace_addto_strategy.py
...ddle/fluid/tests/unittests/test_inplace_addto_strategy.py
+0
-2
python/paddle/fluid/tests/unittests/test_inplace_and_clear_gradient.py
.../fluid/tests/unittests/test_inplace_and_clear_gradient.py
+1
-2
python/paddle/fluid/tests/unittests/test_inplace_auto_generated_apis.py
...fluid/tests/unittests/test_inplace_auto_generated_apis.py
+0
-2
python/paddle/fluid/tests/unittests/test_inplace_softmax_with_cross_entropy.py
...ests/unittests/test_inplace_softmax_with_cross_entropy.py
+0
-2
python/paddle/fluid/tests/unittests/test_input_spec.py
python/paddle/fluid/tests/unittests/test_input_spec.py
+1
-1
python/paddle/fluid/tests/unittests/test_instance_norm_op.py
python/paddle/fluid/tests/unittests/test_instance_norm_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_instance_norm_op_v2.py
.../paddle/fluid/tests/unittests/test_instance_norm_op_v2.py
+0
-4
python/paddle/fluid/tests/unittests/test_inverse_op.py
python/paddle/fluid/tests/unittests/test_inverse_op.py
+0
-4
python/paddle/fluid/tests/unittests/test_io_save_load.py
python/paddle/fluid/tests/unittests/test_io_save_load.py
+1
-1
python/paddle/fluid/tests/unittests/test_iou_similarity_op.py
...on/paddle/fluid/tests/unittests/test_iou_similarity_op.py
+0
-3
python/paddle/fluid/tests/unittests/test_ir_graph.py
python/paddle/fluid/tests/unittests/test_ir_graph.py
+0
-1
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_ifelse_op.py
...luid/tests/unittests/test_ir_memory_optimize_ifelse_op.py
+0
-2
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_pass.py
...dle/fluid/tests/unittests/test_ir_memory_optimize_pass.py
+0
-2
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_transformer.py
...id/tests/unittests/test_ir_memory_optimize_transformer.py
+0
-5
python/paddle/fluid/tests/unittests/test_isfinite_op.py
python/paddle/fluid/tests/unittests/test_isfinite_op.py
+0
-1
python/paddle/fluid/tests/unittests/test_jit_save_load.py
python/paddle/fluid/tests/unittests/test_jit_save_load.py
+2
-2
未找到文件。
python/paddle/fluid/tests/unittests/test_fake_dequantize_op.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@ import unittest
import
numpy
as
np
import
math
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
def
quantize_max_abs
(
x
,
max_range
):
...
...
python/paddle/fluid/tests/unittests/test_faster_tokenizer_op.py
浏览文件 @
0773639a
...
...
@@ -12,17 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
io
import
os
import
unittest
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
from
paddle.dataset.common
import
DATA_HOME
from
paddle.fluid.framework
import
core
,
_non_static_mode
,
_test_eager_guard
from
paddle.fluid.layer_helper
import
LayerHelper
from
paddle
import
_
C_ops
,
_
legacy_C_ops
from
paddle
import
_legacy_C_ops
import
sys
import
tempfile
...
...
python/paddle/fluid/tests/unittests/test_feed_data_check_shape_type.py
浏览文件 @
0773639a
...
...
@@ -19,7 +19,6 @@ import paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.compiler
as
compiler
import
paddle.fluid.core
as
core
import
six
import
unittest
os
.
environ
[
'CPU_NUM'
]
=
str
(
4
)
...
...
python/paddle/fluid/tests/unittests/test_fetch_lod_tensor_array.py
浏览文件 @
0773639a
...
...
@@ -15,8 +15,6 @@
import
os
import
numpy
as
np
import
unittest
import
random
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
from
simple_nets
import
simple_fc_net_with_inputs
,
simple_fc_net
...
...
python/paddle/fluid/tests/unittests/test_fetch_unmerged.py
浏览文件 @
0773639a
...
...
@@ -14,10 +14,8 @@
import
os
import
unittest
import
random
import
numpy
as
np
import
paddle.fluid
as
fluid
import
six
import
paddle
os
.
environ
[
"CPU_NUM"
]
=
"2"
...
...
python/paddle/fluid/tests/unittests/test_fetch_var.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
op_test
import
numpy
as
np
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_fill_any_like_op.py
浏览文件 @
0773639a
...
...
@@ -13,10 +13,7 @@
# limitations under the License.
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid
import
Program
,
program_guard
import
paddle.compat
as
cpt
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
,
convert_float_to_uint16
...
...
python/paddle/fluid/tests/unittests/test_fill_any_op.py
浏览文件 @
0773639a
...
...
@@ -13,12 +13,9 @@
# limitations under the License.
import
paddle
import
paddle.fluid.core
as
core
from
paddle.fluid.framework
import
_test_eager_guard
,
in_dygraph_mode
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
from
paddle.tensor.manipulation
import
fill_
class
TestFillAnyOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_fill_constant_batch_size_like.py
浏览文件 @
0773639a
...
...
@@ -13,9 +13,6 @@
# limitations under the License.
import
paddle
import
paddle.fluid.core
as
core
from
paddle.static
import
program_guard
,
Program
import
paddle.compat
as
cpt
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_fill_constant_op.py
浏览文件 @
0773639a
...
...
@@ -21,7 +21,7 @@ import paddle.fluid.core as core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
import
numpy
as
np
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
# Situation 1: Attr(shape) is a list(without tensor)
...
...
python/paddle/fluid/tests/unittests/test_fill_diagonal_tensor_op.py
浏览文件 @
0773639a
...
...
@@ -12,14 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle.nn.functional
as
F
import
unittest
import
numpy
as
np
import
six
import
paddle
from
op_test
import
OpTest
from
paddle.fluid.layers
import
core
def
fill_diagonal_ndarray
(
x
,
value
,
offset
=
0
,
dim1
=
0
,
dim2
=
1
):
...
...
python/paddle/fluid/tests/unittests/test_filter_by_instag_op.py
浏览文件 @
0773639a
...
...
@@ -15,13 +15,7 @@
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
import
paddle.fluid.layers
as
layers
from
op_test
import
OpTest
import
random
from
decorator_helper
import
prog_scope
from
paddle.fluid.op
import
Operator
"""This is Test Case 1"""
...
...
python/paddle/fluid/tests/unittests/test_flatten_contiguous_range_op.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
import
paddle
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_fleet.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
os
import
unittest
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestFleet1
(
unittest
.
TestCase
):
...
...
@@ -34,7 +33,6 @@ class TestFleet1(unittest.TestCase):
"""Test cases for pslib."""
import
paddle.fluid
as
fluid
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
GeneralRoleMaker
os
.
environ
[
"POD_IP"
]
=
"127.0.0.1"
...
...
python/paddle/fluid/tests/unittests/test_fleet_ascend_utils.py
浏览文件 @
0773639a
...
...
@@ -12,14 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
sys
import
os
import
time
import
six
import
copy
import
json
import
unittest
import
paddle.fluid
as
fluid
import
paddle.distributed.fleet.ascend_utils
as
ascend_utils
...
...
python/paddle/fluid/tests/unittests/test_fleet_auto.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@ import unittest
import
paddle
import
os
import
paddle.distributed.fleet
as
fleet
import
paddle.distributed.fleet.base.role_maker
as
role_maker
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_fleet_base.py
浏览文件 @
0773639a
...
...
@@ -18,7 +18,6 @@ import paddle.distributed.fleet as fleet
import
paddle.distributed.fleet.base.role_maker
as
role_maker
import
os
import
paddle.fluid
as
fluid
import
paddle.nn
as
nn
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_fleet_base_3.py
浏览文件 @
0773639a
...
...
@@ -17,7 +17,6 @@ import os
import
paddle
import
paddle.distributed.fleet
as
fleet
import
paddle.distributed.fleet.base.role_maker
as
role_maker
import
paddle.fluid
as
fluid
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_fleet_base_4.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
unittest
import
paddle
import
os
import
paddle.fluid
as
fluid
import
paddle.distributed.fleet
as
fleet
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_fleet_base_single.py
浏览文件 @
0773639a
...
...
@@ -22,7 +22,6 @@ else:
os
.
environ
[
'CUDA_VISIBLE_DEVICES'
]
=
cuda_visible_devices
.
split
(
','
)[
0
]
import
paddle
import
paddle.distributed.fleet
as
fleet
import
paddle.distributed.fleet.base.role_maker
as
role_maker
import
paddle.fluid
as
fluid
import
unittest
import
paddle.nn
as
nn
...
...
python/paddle/fluid/tests/unittests/test_fleet_elastic_collective.py
浏览文件 @
0773639a
...
...
@@ -13,13 +13,8 @@
# limitations under the License.
import
os
import
time
import
json
import
unittest
import
argparse
import
tempfile
import
traceback
from
warnings
import
catch_warnings
from
paddle.distributed.fleet.elastic.collective
import
CollectiveLauncher
from
paddle.distributed.fleet.launch
import
launch_collective
...
...
python/paddle/fluid/tests/unittests/test_fleet_elastic_init.py
浏览文件 @
0773639a
...
...
@@ -12,11 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
import
time
import
unittest
import
argparse
from
warnings
import
catch_warnings
from
paddle.distributed.fleet.elastic
import
enable_elastic
,
launch_elastic
from
paddle.distributed.fleet.launch_utils
import
DistributeMode
...
...
python/paddle/fluid/tests/unittests/test_fleet_elastic_manager.py
浏览文件 @
0773639a
...
...
@@ -13,13 +13,10 @@
# limitations under the License.
import
os
import
time
import
unittest
import
argparse
from
paddle.distributed.fleet.elastic.manager
import
ElasticManager
from
paddle.distributed.fleet.elastic.manager
import
LauncherInterface
from
paddle.distributed.fleet.elastic.manager
import
ELASTIC_TIMEOUT
from
paddle.distributed.fleet.elastic.manager
import
ELASTIC_AUTO_PARALLEL_EXIT_CODE
...
...
python/paddle/fluid/tests/unittests/test_fleet_executor_utils.py
浏览文件 @
0773639a
...
...
@@ -14,8 +14,7 @@
import
unittest
import
paddle
import
paddle.fluid.core
as
core
from
paddle.distributed.fleet.fleet_executor_utils
import
TaskNode
,
FleetExecutorUtils
from
paddle.distributed.fleet.fleet_executor_utils
import
FleetExecutorUtils
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_fleet_metric.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
os
import
unittest
import
numpy
as
np
import
paddle.distributed.fleet.metrics.metric
as
metric
...
...
python/paddle/fluid/tests/unittests/test_fleet_nocvm_1.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
os
import
unittest
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestFleet1
(
unittest
.
TestCase
):
...
...
@@ -33,7 +32,6 @@ class TestFleet1(unittest.TestCase):
"""Test cases for pslib."""
import
paddle.fluid
as
fluid
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
GeneralRoleMaker
os
.
environ
[
"POD_IP"
]
=
"127.0.0.1"
...
...
python/paddle/fluid/tests/unittests/test_fleet_rolemaker.py
浏览文件 @
0773639a
...
...
@@ -61,7 +61,6 @@ class TestCloudRoleMaker(unittest.TestCase):
"""Test cases for pslib."""
import
paddle.fluid
as
fluid
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
GeneralRoleMaker
os
.
environ
[
"POD_IP"
]
=
"127.0.0.1"
...
...
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_2.py
浏览文件 @
0773639a
...
...
@@ -18,8 +18,6 @@ import os
import
unittest
import
tempfile
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestCloudRoleMaker2
(
unittest
.
TestCase
):
"""
...
...
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_3.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
os
import
unittest
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestCloudRoleMaker
(
unittest
.
TestCase
):
...
...
@@ -33,7 +32,6 @@ class TestCloudRoleMaker(unittest.TestCase):
"""Test cases for pslib."""
import
paddle.fluid
as
fluid
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
GeneralRoleMaker
os
.
environ
[
"POD_IP"
]
=
"127.0.0.1"
...
...
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_4.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
os
import
unittest
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestCloudRoleMaker
(
unittest
.
TestCase
):
...
...
@@ -31,14 +30,8 @@ class TestCloudRoleMaker(unittest.TestCase):
def
test_pslib_1
(
self
):
"""Test cases for pslib."""
import
sys
import
threading
import
paddle.fluid
as
fluid
try
:
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
\
GeneralRoleMaker
from
paddle.distributed.fleet.utils.http_server
import
KVHandler
from
paddle.distributed.fleet.utils.http_server
import
KVServer
from
paddle.distributed.fleet.utils.http_server
import
KVHTTPServer
...
...
@@ -74,8 +67,6 @@ class TestCloudRoleMaker(unittest.TestCase):
raise
ValueError
(
"this is only for test"
)
return
"fake"
import
os
try
:
class
TmpKVHander
(
KVHandler
):
...
...
@@ -126,8 +117,6 @@ class TestCloudRoleMaker(unittest.TestCase):
print
(
"warning: no KVHandler, skip test_pslib_4"
)
return
import
sys
try
:
class
TmpServer
(
KVHTTPServer
):
...
...
python/paddle/fluid/tests/unittests/test_fleet_rolemaker_init.py
浏览文件 @
0773639a
...
...
@@ -14,11 +14,7 @@
"""Test cloud role maker."""
import
os
import
platform
import
shutil
import
tempfile
import
unittest
import
paddle
import
paddle.distributed.fleet.base.role_maker
as
role_maker
...
...
python/paddle/fluid/tests/unittests/test_fleet_runtime.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
import
paddle
import
os
class
TestFleetRuntime
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_fleet_unitaccessor.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
os
import
unittest
import
paddle.fluid.incubate.fleet.base.role_maker
as
role_maker
class
TestFleet1
(
unittest
.
TestCase
):
...
...
@@ -33,7 +32,6 @@ class TestFleet1(unittest.TestCase):
"""Test cases for pslib."""
import
paddle.fluid
as
fluid
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
fleet
from
paddle.fluid.incubate.fleet.parameter_server.pslib
import
PSLib
from
paddle.fluid.incubate.fleet.base.role_maker
import
GeneralRoleMaker
os
.
environ
[
"POD_IP"
]
=
"127.0.0.1"
...
...
python/paddle/fluid/tests/unittests/test_fleet_util.py
浏览文件 @
0773639a
...
...
@@ -12,15 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle
import
paddle.fluid
as
fluid
import
unittest
import
numpy
as
np
import
tarfile
import
tempfile
import
os
import
sys
from
paddle.dataset.common
import
download
,
DATA_HOME
from
paddle.dataset.common
import
download
import
paddle.distributed.fleet.base.role_maker
as
role_maker
...
...
python/paddle/fluid/tests/unittests/test_flip.py
浏览文件 @
0773639a
...
...
@@ -17,7 +17,6 @@ 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
gradient_checker
from
decorator_helper
import
prog_scope
...
...
python/paddle/fluid/tests/unittests/test_fold_op.py
浏览文件 @
0773639a
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
math
import
numpy
as
np
import
unittest
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_fs_interface.py
浏览文件 @
0773639a
...
...
@@ -13,14 +13,10 @@
# 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
import
os
import
sys
import
inspect
from
paddle.distributed.fleet.utils.fs
import
LocalFS
,
FS
,
HDFSClient
,
FSTimeOut
,
FSFileExistsError
,
FSFileNotExistsError
from
paddle.distributed.fleet.utils.fs
import
FS
class
FSTest
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_fsp_op.py
浏览文件 @
0773639a
...
...
@@ -15,9 +15,7 @@
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
def
fsp_matrix
(
a
,
b
):
...
...
python/paddle/fluid/tests/unittests/test_full_like_op.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
paddle
import
paddle.fluid.core
as
core
from
paddle.static
import
program_guard
,
Program
import
paddle.compat
as
cpt
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_full_op.py
浏览文件 @
0773639a
...
...
@@ -14,13 +14,10 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
import
paddle
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_function_hook.py
浏览文件 @
0773639a
...
...
@@ -16,8 +16,7 @@ import unittest
import
paddle
import
numpy
as
np
import
paddle.fluid.core
as
core
from
paddle
import
_C_ops
,
_legacy_C_ops
from
paddle
import
_legacy_C_ops
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_functional_conv1d.py
浏览文件 @
0773639a
...
...
@@ -14,9 +14,7 @@
import
paddle
import
paddle.nn.functional
as
F
from
paddle
import
fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.fluid.initializer
as
I
import
numpy
as
np
import
unittest
from
unittest
import
TestCase
...
...
python/paddle/fluid/tests/unittests/test_functional_conv1d_transpose.py
浏览文件 @
0773639a
...
...
@@ -14,9 +14,7 @@
import
paddle
import
paddle.nn.functional
as
F
from
paddle
import
fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.fluid.initializer
as
I
import
numpy
as
np
import
unittest
from
unittest
import
TestCase
...
...
python/paddle/fluid/tests/unittests/test_fuse_bn_add_act_pass.py
浏览文件 @
0773639a
...
...
@@ -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
import
core
...
...
python/paddle/fluid/tests/unittests/test_fuse_gemm_epilogue_pass.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
"""Test cases for role makers."""
import
paddle
import
os
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/test_fuse_optimizer_pass.py
浏览文件 @
0773639a
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
simple_nets
import
simple_fc_net
,
fc_with_batchnorm
,
init_data
,
bow_net
from
simple_nets
import
bow_net
,
fc_with_batchnorm
,
init_data
from
fake_reader
import
fake_imdb_reader
from
parallel_executor_test_base
import
TestParallelExecutorBase
,
DeviceType
from
functools
import
partial
...
...
python/paddle/fluid/tests/unittests/test_fuse_relu_depthwise_conv_pass.py
浏览文件 @
0773639a
...
...
@@ -17,9 +17,7 @@ import paddle.fluid as fluid
import
paddle.fluid.core
as
core
import
numpy
as
np
import
paddle
import
paddle.dataset.mnist
as
mnist
import
unittest
import
os
def
norm
(
*
args
,
**
kargs
):
...
...
python/paddle/fluid/tests/unittests/test_fused_attention_op.py
浏览文件 @
0773639a
...
...
@@ -15,8 +15,6 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
import
paddle.incubate.nn.functional
as
incubate_f
from
paddle.nn.layer.norm
import
LayerNorm
...
...
python/paddle/fluid/tests/unittests/test_fused_attention_op_api.py
浏览文件 @
0773639a
...
...
@@ -15,13 +15,8 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
from
paddle.incubate.nn.layer.fused_transformer
import
FusedMultiHeadAttention
from
paddle
import
tensor
from
paddle.fluid
import
layers
from
paddle.static
import
Program
,
program_guard
from
paddle.static
import
Program
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_fused_bias_dropout_residual_layer_norm_op.py
浏览文件 @
0773639a
...
...
@@ -15,15 +15,9 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
import
paddle.incubate.nn.functional
as
incubate_f
from
paddle.nn.layer.norm
import
LayerNorm
from
paddle.nn.layer.common
import
Linear
,
Dropout
from
paddle.nn.layer.transformer
import
_convert_attention_mask
from
paddle
import
tensor
from
paddle.fluid
import
layers
from
paddle.nn.layer.common
import
Dropout
import
unittest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
default_main_program
,
_enable_legacy_dygraph
...
...
python/paddle/fluid/tests/unittests/test_fused_bias_dropout_residual_layer_norm_op_api.py
浏览文件 @
0773639a
...
...
@@ -15,13 +15,8 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
from
paddle.incubate.nn.layer.fused_transformer
import
FusedBiasDropoutResidualLayerNorm
from
paddle
import
tensor
from
paddle.fluid
import
layers
from
paddle.static
import
Program
,
program_guard
from
paddle.static
import
Program
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_fused_emb_seq_pool_op.py
浏览文件 @
0773639a
...
...
@@ -16,10 +16,6 @@ import unittest
import
platform
import
numpy
as
np
from
op_test
import
OpTest
,
skip_check_grad_ci
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid.op
import
Operator
import
paddle.compat
as
cpt
import
paddle.version
as
ver
...
...
python/paddle/fluid/tests/unittests/test_fused_feedforward_op.py
浏览文件 @
0773639a
...
...
@@ -14,8 +14,6 @@
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.nn.layer
import
transformer
import
paddle.nn.functional
as
F
import
paddle.incubate.nn.functional
as
incubate_f
...
...
python/paddle/fluid/tests/unittests/test_fused_gate_attention_op.py
浏览文件 @
0773639a
...
...
@@ -21,12 +21,10 @@ import numpy as np
import
paddle
import
paddle.nn
as
nn
from
paddle
import
tensor
import
unittest
from
op_test
import
OpTest
,
convert_float_to_uint16
,
convert_uint16_to_float
from
test_sparse_attention_op
import
get_cuda_version
from
paddle
import
_C_ops
,
_legacy_C_ops
from
paddle.fluid.framework
import
default_main_program
from
paddle
import
_legacy_C_ops
from
paddle.fluid
import
core
...
...
python/paddle/fluid/tests/unittests/test_fused_multi_transformer_int8_op.py
浏览文件 @
0773639a
...
...
@@ -15,23 +15,15 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
import
paddle.incubate.nn.functional
as
incubate_f
from
paddle.nn.layer.norm
import
LayerNorm
from
paddle.nn.layer.common
import
Linear
,
Dropout
from
paddle.nn.layer.common
import
Dropout
from
paddle.nn.layer.transformer
import
_convert_attention_mask
from
paddle
import
tensor
from
paddle.fluid
import
layers
import
unittest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
default_main_program
from
paddle.fluid.dygraph.layers
import
Layer
from
paddle.fluid.layer_helper
import
LayerHelper
from
paddle.nn.initializer
import
Constant
from
paddle.fluid.data_feeder
import
check_variable_and_dtype
,
check_dtype
from
paddle.fluid.framework
import
_non_static_mode
,
default_main_program
from
paddle.fluid.framework
import
default_main_program
from
paddle
import
_legacy_C_ops
default_main_program
().
random_seed
=
42
...
...
python/paddle/fluid/tests/unittests/test_fused_multi_transformer_op.py
浏览文件 @
0773639a
...
...
@@ -15,10 +15,7 @@
import
numpy
as
np
import
paddle
import
paddle.nn
as
nn
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
import
paddle.incubate.nn.functional
as
incubate_f
from
paddle.nn.layer.norm
import
LayerNorm
from
paddle.nn.layer.common
import
Linear
,
Dropout
from
paddle.nn.layer.transformer
import
_convert_attention_mask
...
...
@@ -27,12 +24,7 @@ from paddle.fluid import layers
import
unittest
from
op_test
import
OpTest
from
paddle.fluid.framework
import
default_main_program
from
paddle.fluid.dygraph.layers
import
Layer
from
paddle.fluid.layer_helper
import
LayerHelper
from
paddle.nn.initializer
import
Constant
from
paddle.fluid.data_feeder
import
check_variable_and_dtype
,
check_dtype
from
paddle.fluid.framework
import
_non_static_mode
,
default_main_program
from
paddle
import
_C_ops
,
_legacy_C_ops
from
paddle.fluid.framework
import
default_main_program
from
paddle.incubate.nn.functional
import
fused_multi_transformer
from
paddle.incubate.nn
import
FusedMultiTransformer
...
...
python/paddle/fluid/tests/unittests/test_fused_multihead_matmul_op.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@ import unittest
import
numpy
as
np
from
op_test
import
OpTest
from
paddle.fluid
import
core
import
paddle.fluid
as
fluid
np
.
random
.
random
(
123
)
...
...
python/paddle/fluid/tests/unittests/test_fused_token_prune_op.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
paddle
from
op_test
import
OpTest
from
paddle.framework
import
core
...
...
python/paddle/fluid/tests/unittests/test_fusion_gru_op.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
math
from
op_test
import
OpTest
from
paddle.fluid.tests.unittests.test_gru_op
import
gru
from
paddle.fluid.tests.unittests.test_fusion_lstm_op
import
fc
,
ACTIVATION
...
...
python/paddle/fluid/tests/unittests/test_fusion_seqconv_eltadd_relu_op.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
import
numpy
as
np
import
random
from
op_test
import
OpTest
from
sequence.test_sequence_conv
import
seqconv
...
...
python/paddle/fluid/tests/unittests/test_gaussian_random_op.py
浏览文件 @
0773639a
...
...
@@ -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
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
paddle.fluid.executor
import
Executor
from
paddle.fluid.tests.unittests.op_test
import
OpTest
,
convert_uint16_to_float
from
paddle.fluid.framework
import
_test_eager_guard
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_gcd.py
浏览文件 @
0773639a
...
...
@@ -17,8 +17,6 @@ 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
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_generate_mask_labels_op.py
浏览文件 @
0773639a
...
...
@@ -14,10 +14,8 @@
import
unittest
import
numpy
as
np
import
sys
import
math
import
six
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
'''
# Equivalent code
...
...
python/paddle/fluid/tests/unittests/test_generate_proposal_labels_op.py
浏览文件 @
0773639a
...
...
@@ -14,9 +14,6 @@
import
unittest
import
numpy
as
np
import
sys
import
math
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_generate_proposals_op.py
浏览文件 @
0773639a
...
...
@@ -14,10 +14,8 @@
import
unittest
import
numpy
as
np
import
sys
import
math
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
test_anchor_generator_op
import
anchor_generator_in_python
import
copy
...
...
python/paddle/fluid/tests/unittests/test_generate_proposals_v2_op.py
浏览文件 @
0773639a
...
...
@@ -14,13 +14,9 @@
import
unittest
import
numpy
as
np
import
sys
import
math
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
test_anchor_generator_op
import
anchor_generator_in_python
import
copy
from
test_generate_proposals_op
import
clip_tiled_boxes
,
box_coder
,
nms
...
...
python/paddle/fluid/tests/unittests/test_generator.py
浏览文件 @
0773639a
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
"""Test cloud role maker."""
import
os
import
unittest
import
paddle
import
paddle.fluid.generator
as
generator
...
...
python/paddle/fluid/tests/unittests/test_get_all_op_or_kernel_names.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,6 @@
import
unittest
from
paddle.fluid
import
core
from
paddle
import
compat
as
cpt
class
TestGetAllRegisteredOpKernels
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_get_device_properties.py
浏览文件 @
0773639a
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle
import
unittest
from
paddle.fluid
import
core
from
paddle.device.cuda
import
device_count
,
get_device_properties
...
...
python/paddle/fluid/tests/unittests/test_gpu_package_without_gpu_device.py
浏览文件 @
0773639a
...
...
@@ -16,9 +16,7 @@ import os
import
sys
import
subprocess
import
unittest
import
paddle
import
tempfile
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
...
...
python/paddle/fluid/tests/unittests/test_grad_clip_minimize.py
浏览文件 @
0773639a
...
...
@@ -12,14 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
contextlib
import
unittest
import
numpy
as
np
import
six
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid.dygraph.base
import
to_variable
...
...
python/paddle/fluid/tests/unittests/test_gradient_clip.py
浏览文件 @
0773639a
...
...
@@ -17,7 +17,6 @@ import numpy as np
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
six
from
fake_reader
import
fake_imdb_reader
from
paddle.fluid.clip
import
_allow_pure_fp16_global_norm_clip
...
...
python/paddle/fluid/tests/unittests/test_graph_reindex.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
class
TestGraphReindex
(
unittest
.
TestCase
):
...
...
python/paddle/fluid/tests/unittests/test_graph_send_recv_op.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@ import unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid.framework
import
_test_eager_guard
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_graph_send_ue_recv_op.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_graph_send_uv_op.py
浏览文件 @
0773639a
...
...
@@ -15,8 +15,6 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.framework
import
_test_eager_guard
from
op_test
import
OpTest
...
...
python/paddle/fluid/tests/unittests/test_grid_sample_function.py
浏览文件 @
0773639a
...
...
@@ -14,7 +14,7 @@
import
numpy
as
np
import
paddle
from
paddle
import
fluid
,
nn
from
paddle
import
fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.nn.functional
as
F
import
unittest
...
...
python/paddle/fluid/tests/unittests/test_group_norm_op.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
from
operator
import
mul
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
,
skip_check_grad_ci
...
...
python/paddle/fluid/tests/unittests/test_group_norm_op_v2.py
浏览文件 @
0773639a
...
...
@@ -12,14 +12,10 @@
# 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
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_gru_op.py
浏览文件 @
0773639a
...
...
@@ -14,9 +14,8 @@
import
unittest
import
numpy
as
np
import
math
import
functools
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
OpTest
from
paddle.fluid.tests.unittests.test_lstm_op
import
ACTIVATION
from
paddle
import
fluid
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
浏览文件 @
0773639a
...
...
@@ -14,13 +14,10 @@
import
unittest
import
numpy
as
np
import
math
from
op_test
import
OpTest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
random
import
sys
...
...
python/paddle/fluid/tests/unittests/test_gumbel_softmax_op.py
浏览文件 @
0773639a
...
...
@@ -13,10 +13,8 @@
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.framework
import
_test_eager_guard
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/test_histogram_op.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,6 @@ 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
from
op_test
import
OpTest
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_hsigmoid_op.py
浏览文件 @
0773639a
...
...
@@ -15,7 +15,6 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
paddle.nn.functional
as
F
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/test_huber_loss_op.py
浏览文件 @
0773639a
...
...
@@ -17,7 +17,7 @@ import numpy as np
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
import
paddle
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
def
huber_loss_forward
(
val
,
delta
):
...
...
python/paddle/fluid/tests/unittests/test_hybrid_parallel_topology.py
浏览文件 @
0773639a
...
...
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle
import
paddle.nn
as
nn
import
unittest
from
paddle.distributed
import
fleet
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_identity_loss_op.py
浏览文件 @
0773639a
...
...
@@ -18,7 +18,6 @@ import paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
op_test
import
OpTest
from
paddle.fluid.framework
import
_test_eager_guard
class
TestIdentityLossOp
(
OpTest
):
...
...
python/paddle/fluid/tests/unittests/test_identity_op.py
浏览文件 @
0773639a
...
...
@@ -14,8 +14,6 @@
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
import
paddle
...
...
python/paddle/fluid/tests/unittests/test_imperative_base.py
浏览文件 @
0773639a
...
...
@@ -13,11 +13,8 @@
# limitations under the License.
import
contextlib
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
@
contextlib
.
contextmanager
...
...
python/paddle/fluid/tests/unittests/test_imperative_basic.py
浏览文件 @
0773639a
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
contextlib
import
unittest
import
numpy
as
np
...
...
@@ -24,7 +23,7 @@ from test_imperative_base import new_program_scope
import
paddle.fluid.dygraph_utils
as
dygraph_utils
from
paddle.fluid.dygraph.layer_object_helper
import
LayerObjectHelper
import
paddle
from
paddle.fluid.framework
import
_
test_eager_guard
,
_in_legacy_dygraph
,
_non_static_mode
from
paddle.fluid.framework
import
_
in_legacy_dygraph
,
_test_eager_guard
class
MyLayer
(
fluid
.
Layer
):
...
...
python/paddle/fluid/tests/unittests/test_imperative_container_layerdict.py
浏览文件 @
0773639a
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
paddle
from
collections
import
OrderedDict
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_container_parameterlist.py
浏览文件 @
0773639a
...
...
@@ -16,7 +16,7 @@ import unittest
import
paddle.fluid
as
fluid
import
numpy
as
np
import
paddle
from
paddle
import
_
C_ops
,
_
legacy_C_ops
from
paddle
import
_legacy_C_ops
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_loader_base.py
浏览文件 @
0773639a
...
...
@@ -12,11 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
sys
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid.reader
import
use_pinned_memory
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_loader_exception.py
浏览文件 @
0773639a
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
sys
import
time
import
unittest
import
numpy
as
np
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_loader_exit_func.py
浏览文件 @
0773639a
...
...
@@ -36,7 +36,6 @@ class TestDygraphDataLoaderCleanUpFunc(unittest.TestCase):
def
func_test_clear_queue_set
(
self
):
test_queue
=
queue
.
Queue
(
self
.
capacity
)
global
multiprocess_queue_set
multiprocess_queue_set
.
add
(
test_queue
)
for
i
in
range
(
0
,
self
.
capacity
):
test_queue
.
put
(
i
)
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_loader_fds_clear.py
浏览文件 @
0773639a
...
...
@@ -12,11 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
sys
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.io
import
Dataset
,
DataLoader
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_loader_process.py
浏览文件 @
0773639a
...
...
@@ -17,7 +17,6 @@ import unittest
import
multiprocessing
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid.reader
import
_reader_process_loop
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_data_parallel.py
浏览文件 @
0773639a
...
...
@@ -12,13 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
contextlib
import
unittest
import
numpy
as
np
import
six
import
unittest
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.dygraph
as
dygraph
from
paddle.fluid.dygraph.nn
import
Linear
...
...
python/paddle/fluid/tests/unittests/test_imperative_double_grad.py
浏览文件 @
0773639a
...
...
@@ -20,8 +20,7 @@ import unittest
from
unittest
import
TestCase
import
numpy
as
np
import
paddle.compat
as
cpt
from
paddle.fluid.framework
import
_test_eager_guard
,
_in_legacy_dygraph
,
_in_eager_without_dygraph_check
import
paddle.fluid.core
as
core
from
paddle.fluid.framework
import
_test_eager_guard
def
_dygraph_guard_
(
func
):
...
...
python/paddle/fluid/tests/unittests/test_imperative_gan.py
浏览文件 @
0773639a
...
...
@@ -12,17 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
contextlib
import
unittest
import
numpy
as
np
import
six
import
sys
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.optimizer
import
SGDOptimizer
from
paddle.fluid
import
Conv2D
,
Pool2D
,
Linear
from
paddle.fluid
import
Linear
from
test_imperative_base
import
new_program_scope
from
paddle.fluid.dygraph.base
import
to_variable
from
paddle.fluid.framework
import
_test_eager_guard
...
...
python/paddle/fluid/tests/unittests/test_imperative_gnn.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_group.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_hook_for_layer.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_layers.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_lod_tensor_to_selected_rows.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_mnist.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_mnist_sorted_gradient.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_named_members.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_optimizer.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_optimizer_v2.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_parallel_coalesce_split.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_ptb_rnn_sorted_gradient.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_recurrent_usage.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_reinforcement.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_resnet.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_save_load.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_save_load_v2.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_se_resnext.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_selected_rows.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_star_gan_with_gradient_penalty.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_static_runner_mnist.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_static_runner_while.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_transformer_sorted_gradient.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_imperative_triple_grad.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_index_add_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_index_select_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_infer_no_need_buffer_slots.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inference_api.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inference_model_io.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inner.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace_abn_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace_addto_strategy.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace_and_clear_gradient.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace_auto_generated_apis.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inplace_softmax_with_cross_entropy.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_input_spec.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_instance_norm_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_instance_norm_op_v2.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_inverse_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_io_save_load.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_iou_similarity_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_ir_graph.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_ifelse_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_pass.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_ir_memory_optimize_transformer.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_isfinite_op.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/test_jit_save_load.py
浏览文件 @
0773639a
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录