Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
72fecaa5
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
72fecaa5
编写于
10月 12, 2022
作者:
N
Nyakku Shigure
提交者:
GitHub
10月 12, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CodeStyle][F401] remove unused import in unittests/xpu, test=kunlun (#46783)
上级
58f00a55
变更
103
展开全部
隐藏空白更改
内联
并排
Showing
103 changed file
with
20 addition
and
236 deletion
+20
-236
python/paddle/fluid/tests/unittests/xpu/test_accuracy_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_accuracy_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_adam_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_adam_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_adamw_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_adamw_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_arg_max_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_arg_max_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_argsort_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_argsort_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_assign_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_assign_op_xpu.py
+0
-7
python/paddle/fluid/tests/unittests/xpu/test_batch_norm_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_batch_norm_op_xpu.py
+0
-5
python/paddle/fluid/tests/unittests/xpu/test_bce_loss_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_bce_loss_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_bilinear_interp_op_xpu.py
.../fluid/tests/unittests/xpu/test_bilinear_interp_op_xpu.py
+0
-6
python/paddle/fluid/tests/unittests/xpu/test_bilinear_interp_v2_op_xpu.py
...uid/tests/unittests/xpu/test_bilinear_interp_v2_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_bmm_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_bmm_op_xpu.py
+0
-5
python/paddle/fluid/tests/unittests/xpu/test_c_embedding_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_c_embedding_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_cast_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_cast_op_xpu.py
+1
-2
python/paddle/fluid/tests/unittests/xpu/test_clip_by_norm_op_xpu.py
...dle/fluid/tests/unittests/xpu/test_clip_by_norm_op_xpu.py
+1
-4
python/paddle/fluid/tests/unittests/xpu/test_clip_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_clip_op_xpu.py
+1
-3
python/paddle/fluid/tests/unittests/xpu/test_coalesce_tensor_op_xpu.py
.../fluid/tests/unittests/xpu/test_coalesce_tensor_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_collective_base_xpu.py
...dle/fluid/tests/unittests/xpu/test_collective_base_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_concat_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_concat_op_xpu.py
+1
-3
python/paddle/fluid/tests/unittests/xpu/test_conv2d_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_conv2d_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_conv2d_transpose_op_xpu.py
...fluid/tests/unittests/xpu/test_conv2d_transpose_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_deformable_conv_op_xpu.py
.../fluid/tests/unittests/xpu/test_deformable_conv_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_depthwise_conv2d_op_xpu.py
...fluid/tests/unittests/xpu/test_depthwise_conv2d_op_xpu.py
+0
-4
python/paddle/fluid/tests/unittests/xpu/test_device_guard_xpu.py
...paddle/fluid/tests/unittests/xpu/test_device_guard_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_dropout_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_dropout_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_elementwise_add_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_add_op_xpu.py
+1
-1
python/paddle/fluid/tests/unittests/xpu/test_elementwise_add_op_xpu_kp.py
...uid/tests/unittests/xpu/test_elementwise_add_op_xpu_kp.py
+1
-1
python/paddle/fluid/tests/unittests/xpu/test_elementwise_div_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_div_op_xpu.py
+1
-2
python/paddle/fluid/tests/unittests/xpu/test_elementwise_floordiv_op_xpu.py
...d/tests/unittests/xpu/test_elementwise_floordiv_op_xpu.py
+1
-3
python/paddle/fluid/tests/unittests/xpu/test_elementwise_max_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_max_op_xpu.py
+1
-1
python/paddle/fluid/tests/unittests/xpu/test_elementwise_min_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_min_op_xpu.py
+1
-3
python/paddle/fluid/tests/unittests/xpu/test_elementwise_mod_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_mod_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_elementwise_mul_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_mul_op_xpu.py
+1
-1
python/paddle/fluid/tests/unittests/xpu/test_elementwise_pow_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_pow_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_elementwise_sub_op_xpu.py
.../fluid/tests/unittests/xpu/test_elementwise_sub_op_xpu.py
+1
-1
python/paddle/fluid/tests/unittests/xpu/test_empty_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_empty_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_expand_as_v2_op_xpu.py
...dle/fluid/tests/unittests/xpu/test_expand_as_v2_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_expand_v2_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_expand_v2_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_fill_any_like_op_xpu.py
...le/fluid/tests/unittests/xpu/test_fill_any_like_op_xpu.py
+0
-5
python/paddle/fluid/tests/unittests/xpu/test_fill_constant_op_xpu.py
...le/fluid/tests/unittests/xpu/test_fill_constant_op_xpu.py
+1
-2
python/paddle/fluid/tests/unittests/xpu/test_flatten2_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_flatten2_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_flatten_contiguous_range_op_xpu.py
...sts/unittests/xpu/test_flatten_contiguous_range_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_flatten_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_flatten_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_fused_resnet_basic_block_op_xpu.py
...sts/unittests/xpu/test_fused_resnet_basic_block_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_gen_bkcl_id_op.py
...n/paddle/fluid/tests/unittests/xpu/test_gen_bkcl_id_op.py
+1
-3
python/paddle/fluid/tests/unittests/xpu/test_generate_proposals_v2_op_xpu.py
.../tests/unittests/xpu/test_generate_proposals_v2_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_grid_sampler_op_xpu.py
...dle/fluid/tests/unittests/xpu/test_grid_sampler_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_huber_loss_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_huber_loss_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_instance_norm_op_xpu.py
...le/fluid/tests/unittests/xpu/test_instance_norm_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_iou_similarity_op_xpu.py
...e/fluid/tests/unittests/xpu/test_iou_similarity_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_lamb_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_lamb_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_layer_norm_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_layer_norm_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_log_loss_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_log_loss_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_log_softmax_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_log_softmax_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_logsumexp_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_logsumexp_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_masked_select_op_xpu.py
...le/fluid/tests/unittests/xpu/test_masked_select_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_matmul_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_matmul_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_matmul_v2_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_matmul_v2_op_xpu.py
+0
-4
python/paddle/fluid/tests/unittests/xpu/test_mean_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_mean_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_merged_momentum_op_xpu.py
.../fluid/tests/unittests/xpu/test_merged_momentum_op_xpu.py
+0
-4
python/paddle/fluid/tests/unittests/xpu/test_momentum_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_momentum_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_mul_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_mul_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_nearest_interp_op_xpu.py
...e/fluid/tests/unittests/xpu/test_nearest_interp_op_xpu.py
+0
-5
python/paddle/fluid/tests/unittests/xpu/test_nearest_interp_v2_op_xpu.py
...luid/tests/unittests/xpu/test_nearest_interp_v2_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_one_hot_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_one_hot_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_p_norm_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_p_norm_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_pool2d_op_xpu.py
...on/paddle/fluid/tests/unittests/xpu/test_pool2d_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_pow2_decay_with_linear_warmup_op_xpu.py
...nittests/xpu/test_pow2_decay_with_linear_warmup_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_reduce_all_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_reduce_all_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_amax_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_reduce_amax_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_amin_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_reduce_amin_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_any_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_reduce_any_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_max_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_reduce_max_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_min_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_reduce_min_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_prod_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_reduce_prod_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_reduce_sum_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_reduce_sum_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_refactor_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_refactor_op_xpu.py
+1
-4
python/paddle/fluid/tests/unittests/xpu/test_rmsprop_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_rmsprop_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_rnn_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_rnn_op_xpu.py
+1
-5
python/paddle/fluid/tests/unittests/xpu/test_sampling_id_op_xpu.py
...ddle/fluid/tests/unittests/xpu/test_sampling_id_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_scale_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_scale_op_xpu.py
+1
-5
python/paddle/fluid/tests/unittests/xpu/test_sequence_unpad_op_xpu.py
...e/fluid/tests/unittests/xpu/test_sequence_unpad_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_sgd_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_sgd_op_xpu.py
+0
-4
python/paddle/fluid/tests/unittests/xpu/test_sigmoid_cross_entropy_with_logits_op_xpu.py
...ests/xpu/test_sigmoid_cross_entropy_with_logits_op_xpu.py
+1
-6
python/paddle/fluid/tests/unittests/xpu/test_sign_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_sign_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_slice_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_slice_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_softmax_with_cross_entropy_op_xpu.py
...s/unittests/xpu/test_softmax_with_cross_entropy_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_split_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_split_op_xpu.py
+0
-4
python/paddle/fluid/tests/unittests/xpu/test_squeeze2_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_squeeze2_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_squeeze_op_xpu.py
...n/paddle/fluid/tests/unittests/xpu/test_squeeze_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_stack_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_stack_op_xpu.py
+1
-4
python/paddle/fluid/tests/unittests/xpu/test_sum_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_sum_op_xpu.py
+0
-6
python/paddle/fluid/tests/unittests/xpu/test_tile_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_tile_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_top_k_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_top_k_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_top_k_v2_op_xpu.py
.../paddle/fluid/tests/unittests/xpu/test_top_k_v2_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_transpose_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_transpose_op_xpu.py
+1
-4
python/paddle/fluid/tests/unittests/xpu/test_tril_triu_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_tril_triu_op_xpu.py
+0
-3
python/paddle/fluid/tests/unittests/xpu/test_uniform_random_op_xpu.py
...e/fluid/tests/unittests/xpu/test_uniform_random_op_xpu.py
+0
-6
python/paddle/fluid/tests/unittests/xpu/test_unsqueeze2_op_xpu.py
...addle/fluid/tests/unittests/xpu/test_unsqueeze2_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_unsqueeze_op_xpu.py
...paddle/fluid/tests/unittests/xpu/test_unsqueeze_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_update_loss_scaling_op_xpu.py
...id/tests/unittests/xpu/test_update_loss_scaling_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_where_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_where_op_xpu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_while_op_xpu.py
python/paddle/fluid/tests/unittests/xpu/test_while_op_xpu.py
+0
-2
python/paddle/fluid/tests/unittests/xpu/test_xpu_place.py
python/paddle/fluid/tests/unittests/xpu/test_xpu_place.py
+0
-1
未找到文件。
python/paddle/fluid/tests/unittests/xpu/test_accuracy_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,9 +17,6 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
import
paddle
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_adam_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,10 +17,8 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
from
paddle.fluid
import
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
import
paddle
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_adamw_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,11 +18,8 @@ sys.path.append("..")
import
unittest
import
paddle
import
random
import
numpy
as
np
import
paddle.fluid
as
fluid
from
functools
import
partial
from
paddle.framework
import
core
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_arg_max_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_argsort_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_assign_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,15 +15,8 @@
import
sys
sys
.
path
.
append
(
".."
)
import
op_test
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
'''
class TestAssignOp(op_test.OpTest):
def setUp(self):
...
...
python/paddle/fluid/tests/unittests/xpu/test_batch_norm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,14 +18,9 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
scipy.special
import
expit
,
erf
import
paddle
import
paddle.fluid
as
fluid
import
paddle.nn
as
nn
import
paddle.nn.functional
as
F
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_bce_loss_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,7 +16,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid
as
fluid
import
numpy
as
np
import
unittest
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_bilinear_interp_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -14,16 +14,10 @@
import
unittest
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
import
sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
time
paddle
.
enable_static
()
'''
...
...
python/paddle/fluid/tests/unittests/xpu/test_bilinear_interp_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,11 +17,9 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
paddle.nn.functional
import
interpolate
import
paddle
from
op_test_xpu
import
XPUOpTest
import
unittest
import
paddle.fluid
as
fluid
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_bmm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,14 +15,9 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
paddle.tensor
as
tensor
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid.framework
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_c_embedding_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
numpy
as
np
import
unittest
import
sys
...
...
python/paddle/fluid/tests/unittests/xpu/test_cast_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,12 +16,11 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
op_test
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_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_clip_by_norm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,11 +17,8 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
OpTest
,
XPUOpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
from
paddle.fluid
import
Program
,
program_guard
class
TestXPUClipByNormOp
(
XPUOpTest
):
...
...
python/paddle/fluid/tests/unittests/xpu/test_clip_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,13 +17,11 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
OpTest
,
XPUOpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
from
paddle.fluid
import
Program
,
program_guard
import
op_test
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_coalesce_tensor_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ from paddle.fluid import core
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
alignment
=
256
import
paddle
...
...
python/paddle/fluid/tests/unittests/xpu/test_collective_base_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -152,7 +152,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/xpu/test_concat_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,10 +18,8 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
,
core
import
paddle
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_conv2d_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,10 +19,8 @@ import unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
XPUOpTest
import
paddle
from
paddle.fluid
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_conv2d_transpose_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,12 +18,9 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
import
paddle
import
paddle.nn
as
nn
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_deformable_conv_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -22,7 +22,6 @@ import paddle.fluid.core as core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
OpTest
,
XPUOpTest
import
paddle
from
paddle.fluid
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_depthwise_conv2d_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,10 +21,6 @@ import numpy as np
import
paddle
paddle
.
enable_static
()
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid
import
Program
,
program_guard
from
test_conv2d_op_xpu
import
XPUTestConv2DOp
,
XPUTestConv2DOp_v2
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_device_guard_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,9 +16,7 @@ import unittest
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
...
...
python/paddle/fluid/tests/unittests/xpu/test_dropout_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,9 +17,7 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
paddle
import
_legacy_C_ops
from
op_test
import
OpTest
,
skip_check_grad_ci
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_add_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,7 +21,7 @@ from op_test import OpTest, skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
import
unittest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_add_op_xpu_kp.py
浏览文件 @
72fecaa5
...
...
@@ -21,7 +21,7 @@ from op_test import OpTest, skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
import
unittest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_div_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,8 +18,7 @@ import unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_floordiv_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,9 +17,7 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_max_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,7 +16,7 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
import
paddle
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_min_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,9 +16,7 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
,
skip_check_grad_ci
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
op_test
import
skip_check_grad_ci
import
paddle
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_mod_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ import unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
import
paddle
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_mul_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,7 @@ import unittest
import
numpy
as
np
from
op_test
import
OpTest
,
skip_check_grad_ci
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
import
paddle
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_pow_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,8 +17,6 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_elementwise_sub_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,7 +17,7 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
import
unittest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_empty_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,9 +19,7 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid
import
Program
,
program_guard
from
paddle.fluid.framework
import
convert_np_dtype_to_dtype_
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_expand_as_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,7 +17,6 @@ import unittest
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/xpu/test_expand_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,10 +17,8 @@ import sys
import
numpy
as
np
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
paddle
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_fill_any_like_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,13 +17,8 @@ import sys
sys
.
path
.
append
(
".."
)
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
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_fill_constant_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,9 +17,8 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
paddle
from
paddle.fluid
import
core
import
numpy
as
np
from
op_test
import
OpTest
,
convert_float_to_uint16
from
op_test
import
convert_float_to_uint16
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_flatten2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,8 +18,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_flatten_contiguous_range_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,10 +20,8 @@ import unittest
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_flatten_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,8 +18,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_fused_resnet_basic_block_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -22,7 +22,6 @@ import paddle
import
paddle.fluid
as
fluid
import
paddle.nn
as
nn
from
paddle.fluid
import
core
from
paddle
import
_legacy_C_ops
from
paddle.incubate.xpu.resnet_block
import
ResNetBasicBlock
from
paddle.fluid.framework
import
default_main_program
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_gen_bkcl_id_op.py
浏览文件 @
72fecaa5
...
...
@@ -14,13 +14,11 @@
import
unittest
import
os
import
copy
import
sys
sys
.
path
.
append
(
".."
)
from
launch_function_helper
import
wait
,
_find_free_port
from
multiprocessing
import
Pool
,
Process
from
threading
import
Thread
from
multiprocessing
import
Process
os
.
environ
[
'GLOG_vmodule'
]
=
str
(
"gen_bkcl_id_op*=10,gen_comm_id*=10"
)
...
...
python/paddle/fluid/tests/unittests/xpu/test_generate_proposals_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,10 +20,8 @@ sys.path.append("..")
import
math
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
import
copy
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_grid_sampler_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,7 +20,6 @@ sys.path.append("..")
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_huber_loss_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_instance_norm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,12 +16,9 @@ import paddle
import
numpy
as
np
import
sys
import
unittest
from
functools
import
reduce
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
operator
import
mul
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_iou_similarity_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
numpy.random
as
random
import
sys
...
...
python/paddle/fluid/tests/unittests/xpu/test_lamb_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,9 +18,6 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid
import
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
import
paddle
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_layer_norm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import unittest
from
functools
import
reduce
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
operator
import
mul
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_log_loss_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,13 +15,10 @@
import
sys
sys
.
path
.
append
(
".."
)
import
paddle.fluid.core
as
core
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
def
sigmoid_array
(
x
):
...
...
python/paddle/fluid/tests/unittests/xpu/test_log_softmax_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,10 +17,8 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.nn.functional
as
F
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_logsumexp_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_masked_select_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid
as
fluid
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_matmul_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,7 +15,6 @@
import
sys
sys
.
path
.
append
(
".."
)
import
paddle.fluid.core
as
core
import
unittest
import
numpy
as
np
from
op_test_xpu
import
XPUOpTest
...
...
python/paddle/fluid/tests/unittests/xpu/test_matmul_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,12 +18,8 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid.core
as
core
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.framework
as
framework
from
paddle.fluid.framework
import
_test_eager_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_mean_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,15 +18,12 @@ import sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
XPUOpTest
from
op_test
import
OpTest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
np
.
random
.
seed
(
10
)
import
op_test
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_merged_momentum_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -13,16 +13,12 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
test_merged_momentum_op_xpu_base
import
TestMergedMomentumBase
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_momentum_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,7 +21,6 @@ sys.path.append("..")
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_mul_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,14 +15,12 @@
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
import
sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
import
time
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_nearest_interp_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -13,15 +13,10 @@
# limitations under the License.
import
unittest
import
numpy
as
np
import
paddle
import
paddle.fluid.core
as
core
import
sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
paddle
.
enable_static
()
'''
...
...
python/paddle/fluid/tests/unittests/xpu/test_nearest_interp_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,7 +20,6 @@ sys.path.append("..")
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_one_hot_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_p_norm_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -16,12 +16,9 @@ import paddle
import
numpy
as
np
import
sys
import
unittest
from
functools
import
reduce
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
operator
import
mul
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_pool2d_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,10 +18,7 @@ sys.path.append("..")
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
test_pool2d_op
import
adaptive_start_index
,
adaptive_end_index
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
import
paddle
...
...
python/paddle/fluid/tests/unittests/xpu/test_pow2_decay_with_linear_warmup_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,8 +21,6 @@ import sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
record_op_test
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_all_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_amax_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_amin_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_any_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_max_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_min_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_prod_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,7 +20,6 @@ sys.path.append("..")
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_reduce_sum_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_refactor_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,12 +19,9 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid
import
compiler
,
Program
,
program_guard
import
op_test
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_rmsprop_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,7 +21,6 @@ sys.path.append("..")
import
paddle
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_rnn_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,18 +15,14 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
math
import
paddle.fluid.core
as
core
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
import
random
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
sys
.
path
.
append
(
"../rnn"
)
from
rnn_numpy
import
SimpleRNN
,
LSTM
,
GRU
from
rnn_numpy
import
LSTM
from
convert
import
get_params_for_net
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_sampling_id_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,10 +18,7 @@ import sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid.op
import
Operator
import
paddle
...
...
python/paddle/fluid/tests/unittests/xpu/test_scale_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,12 +19,8 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
Program
,
program_guard
import
op_test
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_sequence_unpad_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -23,9 +23,7 @@ import paddle
import
paddle.fluid
as
fluid
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid.framework
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_sgd_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,14 +15,10 @@
import
unittest
import
numpy
as
np
import
sys
import
os
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
core
from
paddle.fluid.op
import
Operator
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_sigmoid_cross_entropy_with_logits_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,14 +17,9 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
OpTest
,
XPUOpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid.framework
import
convert_np_dtype_to_dtype_
from
paddle.fluid
import
compiler
,
Program
,
program_guard
,
core
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
from
scipy.special
import
logit
...
...
python/paddle/fluid/tests/unittests/xpu/test_sign_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,7 +20,6 @@ sys.path.append("..")
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_slice_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ import sys
import
unittest
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_softmax_with_cross_entropy_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ sys.path.append("..")
from
test_softmax_op
import
stable_softmax
from
op_test_xpu
import
XPUOpTest
import
paddle.fluid.core
as
core
import
paddle
import
unittest
...
...
python/paddle/fluid/tests/unittests/xpu/test_split_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,12 +17,8 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_squeeze2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ sys.path.append("..")
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
import
paddle
...
...
python/paddle/fluid/tests/unittests/xpu/test_squeeze_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -22,7 +22,6 @@ import numpy as np
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_stack_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,12 +17,9 @@ import sys
sys
.
path
.
append
(
".."
)
import
unittest
import
numpy
as
np
import
paddle.fluid.core
as
core
from
op_test
import
OpTest
,
skip_check_grad_ci
from
op_test
import
skip_check_grad_ci
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_sum_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -21,12 +21,6 @@ from op_test_xpu import XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
from
paddle.fluid.tests.unittests.op_test
import
(
OpTest
,
convert_float_to_uint16
,
convert_uint16_to_float
)
from
paddle
import
_C_ops
,
_legacy_C_ops
import
op_test
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_tile_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,12 +17,9 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
from
paddle.fluid
import
core
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_top_k_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -18,7 +18,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_top_k_v2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -19,7 +19,6 @@ import sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid.core
as
core
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_transpose_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,11 +17,8 @@ import numpy as np
import
sys
sys
.
path
.
append
(
".."
)
from
op_test_xpu
import
OpTest
,
XPUOpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
from
paddle.fluid
import
compiler
,
Program
,
program_guard
class
TestXPUTransposeOp
(
XPUOpTest
):
...
...
python/paddle/fluid/tests/unittests/xpu/test_tril_triu_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,14 +15,11 @@ import sys
sys
.
path
.
append
(
".."
)
import
paddle
import
paddle.fluid.core
as
core
import
paddle.fluid
as
fluid
import
paddle.tensor
as
tensor
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
paddle.fluid.framework
import
Program
,
program_guard
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_uniform_random_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -15,15 +15,9 @@
import
sys
sys
.
path
.
append
(
".."
)
import
subprocess
import
unittest
import
numpy
as
np
from
op_test
import
OpTest
import
paddle
import
paddle.fluid.core
as
core
from
paddle.fluid.op
import
Operator
import
paddle.fluid
as
fluid
from
paddle.fluid
import
Program
,
program_guard
from
test_uniform_random_op
import
TestUniformRandomOp
,
TestUniformRandomOpSelectedRows
paddle
.
enable_static
()
...
...
python/paddle/fluid/tests/unittests/xpu/test_unsqueeze2_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,8 +20,6 @@ sys.path.append("..")
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_unsqueeze_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -20,8 +20,6 @@ sys.path.append("..")
import
numpy
as
np
import
paddle
import
paddle.fluid
as
fluid
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
from
xpu.get_test_cover_info
import
create_test_class
,
get_xpu_op_support_types
,
XPUOpTestWrapper
...
...
python/paddle/fluid/tests/unittests/xpu/test_update_loss_scaling_op_xpu.py
浏览文件 @
72fecaa5
...
...
@@ -17,7 +17,6 @@ import sys
sys
.
path
.
append
(
".."
)
import
numpy
as
np
from
op_test
import
OpTest
from
op_test_xpu
import
XPUOpTest
import
paddle
import
paddle.fluid
as
fluid
...
...
python/paddle/fluid/tests/unittests/xpu/test_where_op_xpu.py
浏览文件 @
72fecaa5
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/xpu/test_while_op_xpu.py
浏览文件 @
72fecaa5
此差异已折叠。
点击以展开。
python/paddle/fluid/tests/unittests/xpu/test_xpu_place.py
浏览文件 @
72fecaa5
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录