/third_party/mindspore/tests/ut/cpp/optimizer/ad/ |
D | ad_test.cc | 47 FuncGraphPtr dg = Grad(g, resourcePtr); in AssertExpect() local 48 AssertExpect(testCase, dg); in AssertExpect() 51 …void AssertExpect(const std::string& testCase, const FuncGraphPtr& dg) { ASSERT_TRUE(dg != nullptr… in AssertExpect() argument 95 FuncGraphPtr dg = Kprim(NewValueNode(prim::kPrimScalarAdd), resourcePtr); in TEST_F() local 96 AssertExpect("test_prim_scalar_add", dg); in TEST_F() 100 FuncGraphPtr dg = Kprim(NewValueNode(prim::kPrimScalarMul), resourcePtr); in TEST_F() local 101 AssertExpect("test_prim_scalar_mul", dg); in TEST_F() 105 FuncGraphPtr dg = Kprim(NewValueNode(prim::kPrimScalarSub), resourcePtr); in TEST_F() local 106 AssertExpect("test_prim_scalar_sub", dg); in TEST_F() 110 FuncGraphPtr dg = Kprim(NewValueNode(prim::kPrimScalarDiv), resourcePtr); in TEST_F() local [all …]
|
/third_party/flutter/skia/gm/ |
D | hsl.cpp | 89 static void hue(float dr, float dg, float db, in hue() argument 95 set_sat(&R,&G,&B, sat(dr,dg,db)); in hue() 96 set_lum(&R,&G,&B, lum(dr,dg,db)); in hue() 102 static void saturation(float dr, float dg, float db, in saturation() argument 106 G = dg, in saturation() 109 set_lum(&R,&G,&B, lum( dr, dg, db)); // This may seem redundant, but it is not. in saturation() 115 static void color(float dr, float dg, float db, in color() argument 121 set_lum(&R,&G,&B, lum(dr,dg,db)); in color() 127 static void luminosity(float dr, float dg, float db, in luminosity() argument 131 G = dg, in luminosity()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | layer_norm_grad_impl.cu | 39 const T *mean, const T *var, T *dg, T *db) { in GammaAndBetaThreadReduce() argument 50 dg[0] += dy[pos] * my_pow(var[mean_offset] + epsilon, -0.5) * (x[pos] - mean[mean_offset]); in GammaAndBetaThreadReduce() 57 inline __device__ void GammaAndBetaWarpReduce(T *dg, T *db) { in GammaAndBetaWarpReduce() argument 59 dg[0] += __shfl_down_sync(0xffffffff, dg[0], delta); in GammaAndBetaWarpReduce() 65 inline __device__ void GammaAndBetaBlockReduce(const int &col, const int &row_dim, T *dg, T *db, T … in GammaAndBetaBlockReduce() argument 72 share_mem.addr()[offset] = dg[0]; in GammaAndBetaBlockReduce() 101 T dg = 0; in GammaAndBetaPropKernel() local 103 …ndBetaThreadReduce(col, row_dim, col_dim, mean_dim, epsilon, dy, x, mean_addr, var_addr, &dg, &db); in GammaAndBetaPropKernel() 104 GammaAndBetaWarpReduce(&dg, &db); in GammaAndBetaPropKernel() 105 GammaAndBetaBlockReduce(col, row_dim, &dg, &db, dg_addr, db_addr); in GammaAndBetaPropKernel() [all …]
|
/third_party/skia/gm/ |
D | hsl.cpp | 90 static void hue(float dr, float dg, float db, in hue() argument 96 set_sat(&R,&G,&B, sat(dr,dg,db)); in hue() 97 set_lum(&R,&G,&B, lum(dr,dg,db)); in hue() 103 static void saturation(float dr, float dg, float db, in saturation() argument 107 G = dg, in saturation() 110 set_lum(&R,&G,&B, lum( dr, dg, db)); // This may seem redundant, but it is not. in saturation() 116 static void color(float dr, float dg, float db, in color() argument 122 set_lum(&R,&G,&B, lum(dr,dg,db)); in color() 128 static void luminosity(float dr, float dg, float db, in luminosity() argument 132 G = dg, in luminosity()
|
/third_party/pixman/test/ |
D | check-formats.c | 13 uint32_t sa, sg, da, dg; in check_op() local 41 dg = 0; in check_op() 48 d = da | dg; in check_op() 81 dg -= dest_green_mask; in check_op() 82 dg &= dest_green_mask; in check_op() 84 while (dg != 0); in check_op()
|
/third_party/flutter/skia/tools/ |
D | SkVMBuilders.cpp | 51 skvm::F32 dr,dg,db,da; in SrcoverBuilder_F32() local 52 skvm::Arg dst = load(dstFmt, &dr,&dg,&db,&da); in SrcoverBuilder_F32() 56 g = mad(dg, invA, g); in SrcoverBuilder_F32() 110 skvm::I32 dr,dg,db,da; in SrcoverBuilder_I32_Naive() local 111 load(dst, &dr,&dg,&db,&da); in SrcoverBuilder_I32_Naive() 121 g = add(g, shr(mul(dg, invA), 8)); in SrcoverBuilder_I32_Naive() 147 skvm::I32 dr,dg,db,da; in SrcoverBuilder_I32() local 148 load(dst, &dr,&dg,&db,&da); in SrcoverBuilder_I32() 165 g = add(g, shr(mul_16x2(dg, invA), 8)); in SrcoverBuilder_I32()
|
/third_party/node/deps/npm/lib/ |
D | xmas.js | 56 var dg = false variable 58 if (dg) module.exports([], function () {}) 59 dg = true
|
/third_party/libffi/testsuite/libffi.complex/ |
D | cls_align_complex.inc | 77 /* { dg-output "12 4951,7i 127 1 9320,1i 13: 13 14271,8i 140" } */ 80 /* { dg-output "\nres: 13 14271,8i 140" } */ 85 /* { dg-output "\n12 4951,7i 127 1 9320,1i 13: 13 14271,8i 140" } */ 88 /* { dg-output "\nres: 13 14271,8i 140" } */
|
D | cls_complex_struct.inc | 61 /* { dg-output "1.0,11.0i 2.0,22.0i\n" } */ 67 /* { dg-output "1.0,11.0i 2.0,22.0i\n" } */
|
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/ |
D | layernorm_grad.py | 70 …dg = graph_builder.emit('ReduceSum', [dg_mul], attrs={'reduce_axis': param_axis, 'keep_dims': Fals… 111 dg = graph_builder.emit('Cast', [dg], attrs={'dst_type': 'float16'}) 113 return dx, dg, db
|
/third_party/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 1075 F dr,dg,db,da; member 1114 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \ 1118 params->dr, params->dg, params->db, params->da); \ 1123 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da) 1127 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \ 1129 F r, F g, F b, F a, F dr, F dg, F db, F da) { \ 1130 name##_k(Ctx{program},dx,dy,tail, r,g,b,a, dr,dg,db,da); \ 1132 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \ 1135 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da) 1291 dr = dg = db = da = 0; in STAGE() [all …]
|
/third_party/flutter/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 1055 F dr,dg,db,da; member 1094 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \ 1098 params->dr, params->dg, params->db, params->da); \ 1103 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da) 1107 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \ 1109 F r, F g, F b, F a, F dr, F dg, F db, F da) { \ 1110 name##_k(Ctx{program},dx,dy,tail, r,g,b,a, dr,dg,db,da); \ 1112 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \ 1115 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da) 1272 dr = dg = db = da = 0; in STAGE() [all …]
|
/third_party/weston/wcap/ |
D | wcap-decode.c | 50 unsigned char r, g, b, dr, dg, db; in wcap_decoder_decode_rectangle() local 65 dg = (v >> 8); in wcap_decoder_decode_rectangle() 69 g = (d[x] >> 8) + dg; in wcap_decoder_decode_rectangle()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/ |
D | layernorm_grad.cc | 99 float *dg = reinterpret_cast<float *>(output_dg->MutableData()); in Execute() local 100 CHECK_NULL_RETURN(dg); in Execute() 103 …yerNormGrad(x, dy, var, mean, gamma, param_num_, param_size_, block_num_, block_size_, dx, dg, db); in Execute()
|
/third_party/flutter/skia/src/core/ |
D | SkScalerContext.h | 74 void setDeviceGamma(SkScalar dg) { in setDeviceGamma() 75 SkASSERT(0 <= dg && dg < SkIntToScalar(4)); in setDeviceGamma() 76 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/ |
D | layernorm_fp16_grad.cc | 108 float16_t *dg = reinterpret_cast<float16_t *>(output_dg->data()); in DoExecute() local 109 CHECK_NULL_RETURN(dg); in DoExecute() 112 …ormFp16Grad(x, dy, var, mean, gamma, param_num_, param_size_, block_num_, block_size_, dx, dg, db); in DoExecute()
|
/third_party/skia/src/core/ |
D | SkScalerContext.h | 79 void setDeviceGamma(SkScalar dg) { in setDeviceGamma() 80 SkASSERT(0 <= dg && dg < SkIntToScalar(4)); in setDeviceGamma() 81 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | layernorm_grad.c | 22 … int param_num, int param_size, int block_num, int block_size, float *dx, float *dg, float *db) { in LayerNormGrad() argument 37 dg[i] = dgamma; in LayerNormGrad()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | layernorm_grad.c | 22 float16_t *dx, float16_t *dg, float16_t *db) { in LayerNormFp16Grad() argument 34 dg[i] = (float16_t)dgamma; in LayerNormFp16Grad()
|
/third_party/skia/third_party/externals/icu/source/data/locales/ |
D | ca.txt | 645 "dg.", 654 "dg", 663 "dg.", 683 "dg.", 692 "dg", 701 "dg.", 1724 "-1"{"dg. passat"} 1725 "0"{"aquest dg."} 1726 "1"{"dg. que ve"} 1730 one{"d’aquí a {0} dg."} [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/ |
D | ca.txt | 791 "dg.", 800 "dg", 809 "dg.", 829 "dg.", 838 "dg", 847 "dg.", 1946 "-1"{"dg. passat"} 1947 "0"{"aquest dg."} 1948 "1"{"dg. que ve"} 1952 one{"d’aquí a {0} dg."} [all …]
|
/third_party/icu/icu4c/source/data/locales/ |
D | ca.txt | 645 "dg.", 654 "dg", 663 "dg.", 683 "dg.", 692 "dg", 701 "dg.", 1724 "-1"{"dg. passat"} 1725 "0"{"aquest dg."} 1726 "1"{"dg. que ve"} 1730 one{"d’aquí a {0} dg."} [all …]
|
/third_party/skia/src/effects/ |
D | SkColorMatrix.cpp | 78 void SkColorMatrix::postTranslate(float dr, float dg, float db, float da) { in postTranslate() argument 80 fMat[kG_Trans] += dg; in postTranslate()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | layer_norm_grad_cpu_kernel.cc | 83 auto *dg = reinterpret_cast<T *>(outputs[1]->addr); in LaunchKernel() local 92 auto task1 = [this, &x, &dy, &var, &mean, &dg, &db, thread_num1](size_t start) { in LaunchKernel() 105 dg[param_index] = dgamma; in LaunchKernel()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_colorkey.c | 45 int dg = (int)g - ctx->colorkey_rgba[1]; in do_colorkey_pixel() local 48 double diff = sqrt((dr * dr + dg * dg + db * db) / (255.0 * 255.0 * 3.0)); in do_colorkey_pixel()
|