/third_party/mindspore/tests/st/numpy_native/ |
D | utils.py | 64 match_res(mnp_fn, onp_fn, *arrs) 68 match_res(mnp_fn, onp_fn, *arrs) 72 match_res(mnp_fn, onp_fn, *arrs) 76 match_res(mnp_fn, onp_fn, *arrs) 92 def match_res(mnp_fn, onp_fn, *arrs, **kwargs): function 124 match_res(mnp_fn, onp_fn, arr, arr, error=error) 127 match_res(mnp_fn, onp_fn, arr, scalar, error=error) 128 match_res(mnp_fn, onp_fn, scalar, arr, error=error) 132 match_res(mnp_fn, onp_fn, scalar1, scalar2, error=error) 136 match_res(mnp_fn, onp_fn, expanded_arr1, expanded_arr2, error=error) [all …]
|
D | test_math_ops.py | 24 run_single_test, match_res, match_array, match_meta, match_all_arrays, to_tensor 256 match_res(mnp_minimum, onp_minimum, x, y) 257 match_res(mnp_minimum, onp_minimum, y, x) 376 match_res(mnp.nanstd, onp.nanstd, rand_int()) 443 match_res(mnp.nanvar, onp.nanvar, rand_int()) 536 match_res(mnp_inner, onp_inner, arr1, arr2) 540 match_res(mnp_inner, onp_inner, 560 match_res(mnp_dot, onp_dot, rand_int(3), rand_int(3)) 563 match_res(mnp_dot, onp_dot, rand_int(4, 7), rand_int(7, 2)) 566 match_res(mnp_dot, onp_dot, rand_int(), rand_int(1, 9, 3)) [all …]
|
D | test_logic_ops.py | 23 from .utils import rand_int, rand_bool, run_binop_test, run_logical_test, match_res, \ 195 match_res(mnp_isfinite, onp_isfinite, test_case.infs) 211 match_res(mnp_isnan, onp_isnan, test_case.infs) 227 match_res(mnp_isinf, onp_isinf, test_case.infs) 243 match_res(mnp_isposinf, onp_isposinf, test_case.infs) 259 match_res(mnp_isneginf, onp_isneginf, test_case.infs) 312 match_res(mnp.in1d, onp.in1d, x, y) 313 match_res(mnp.in1d, onp.in1d, x, y, invert=True) 327 match_res(mnp.in1d, onp.in1d, x, y) 328 match_res(mnp.in1d, onp.in1d, x, y, invert=True)
|
D | test_array_ops.py | 27 rand_bool, match_res, run_multi_test, to_tensor, match_all_arrays 625 match_res(mnp_where, onp_where, condition1, x, y) 626 match_res(mnp_where, onp_where, condition2, x, y) 786 match_res(mnp.stack, onp.stack, arr) 788 match_res(mnp.stack, onp.stack, arr, axis=i) 791 match_res(mnp.stack, onp.stack, arrs) 792 match_res(mnp.stack, onp.stack, tuple(arrs)) 793 match_res(mnp_stack, onp_stack, *arrs) 795 match_res(mnp.stack, onp.stack, arrs, axis=i) 822 match_res(mnp_roll, onp_roll, arr) [all …]
|
D | test_array_creations.py | 22 from .utils import rand_int, rand_bool, match_array, match_res, match_meta, \ 552 match_res(mnp.nancumsum, onp.nancumsum, x) 553 match_res(mnp.nancumsum, onp.nancumsum, x, axis=-2) 554 match_res(mnp.nancumsum, onp.nancumsum, x, axis=0) 555 match_res(mnp.nancumsum, onp.nancumsum, x, axis=3) 576 match_res(mnp.diagonal, onp.diagonal, arr, offset=i, axis1=0, axis2=1) 577 match_res(mnp.diagonal, onp.diagonal, arr, offset=i, axis1=1, axis2=0) 581 match_res(mnp.diagonal, onp.diagonal, arr, offset=i, axis1=0, axis2=-1) 582 match_res(mnp.diagonal, onp.diagonal, arr, offset=i, axis1=-2, axis2=2) 583 match_res(mnp.diagonal, onp.diagonal, arr, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/ |
D | linker_fixture.h | 172 auto match_res = effcee::Match(result, templateBody); 173 EXPECT_EQ(effcee::Result::Status::Ok, match_res.status()) 174 << match_res.message() << "\nExpanded from:\n"
|
/third_party/skia/third_party/externals/spirv-tools/test/link/ |
D | linker_fixture.h | 172 auto match_res = effcee::Match(result, templateBody); 173 EXPECT_EQ(effcee::Result::Status::Ok, match_res.status()) 174 << match_res.message() << "\nExpanded from:\n"
|
/third_party/spirv-tools/test/link/ |
D | linker_fixture.h | 172 auto match_res = effcee::Match(result, templateBody); 173 EXPECT_EQ(effcee::Result::Status::Ok, match_res.status()) 174 << match_res.message() << "\nExpanded from:\n"
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | check_output.py | 295 …match_res = do_match(g, StringStream(func_res, 'expansion of "%s(%s)"' % (name, args)), output, Fa… 296 if not match_res.success: 297 res.func_res = match_res 298 res.output_pos = match_res.output_pos 299 res.fail(match_res.fail_message)
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass.cc | 247 auto match_res = src_pattern_->match(node); in Run() local 248 if (match_res != nullptr) { in Run() 249 res->merge(match_res); in Run()
|
D | pattern.cc | 106 auto match_res = iter->match(node); in match() local 107 if (match_res != nullptr) { in match()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_context.c | 2482 …d_fb_surface(struct zink_context *ctx, struct pipe_surface **surf, struct zink_resource *match_res) in rebind_fb_surface() argument 2487 if ((match_res == surf_res) || surf_res->obj != zink_csurface(*surf)->obj) in rebind_fb_surface() 2493 rebind_fb_state(struct zink_context *ctx, struct zink_resource *match_res, bool from_set_fb) in rebind_fb_state() argument 2497 rebind |= rebind_fb_surface(ctx, &ctx->fb_state.cbufs[i], match_res); in rebind_fb_state() 2501 rebind |= rebind_fb_surface(ctx, &ctx->fb_state.zsbuf, match_res); in rebind_fb_state()
|