/frameworks/ml/nn/tools/test_generator/tests/P_implicit_parameter/ |
D | mean_implicit.mod.py | 15 i0 = Input("i0", ("TENSOR_FLOAT32", [2, 2])) # input 0 variable 21 model1 = Model().Operation("MEAN", i0, [0], 1).To(o1) # along axis 0, keep_dim=True 22 model2 = Model().Operation("MEAN", i0, [1], 1).To(o2) # along axis 1, keep_dim=True 23 model3 = Model().Operation("MEAN", i0, [0, 1], 0).To(o3) # along both axis, keep_dim=False 25 inputs1 = {i0: [1, 2, 3, 4]} 30 inputs2 = {i0: [-1, -2, -3, -4]}
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | mean_implicit.mod.py | 15 i0 = Input("i0", ("TENSOR_FLOAT32", [2, 2])) # input 0 variable 21 model1 = Model().Operation("MEAN", i0, [0], 1).To(o1) # along axis 0, keep_dim=True 22 model2 = Model().Operation("MEAN", i0, [1], 1).To(o2) # along axis 1, keep_dim=True 23 model3 = Model().Operation("MEAN", i0, [0, 1], 0).To(o3) # along both axis, keep_dim=False 25 inputs1 = {i0: [1, 2, 3, 4]} 30 inputs2 = {i0: [-1, -2, -3, -4]}
|
/frameworks/base/media/tests/audiotests/ |
D | shared_mem_test.cpp | 137 for(int i0=0; i0<bufferSz; i0++) { in Generate() local 138 buffer[i0] = ComputeSine( amplitude, phi); in Generate() 175 for(int i0 = 0; i0<SIN_SZ; i0++) { in InitSine() local 182 sin1024[i0] = (short)d0; in InitSine()
|
/frameworks/rs/driver/runtime/ |
D | rs_f16_math.c | 83 short i0, j0; in modf() local 85 GET_HALF_WORD(i0, x); in modf() 86 j0 = ((i0 >> 10) & 0x1f) - 15; // exponent of x in modf() 89 SET_HALF_WORD(*iptr, i0 & 0x8000); // *iptr = +/- 0 in modf() 94 if ((i0 & i) == 0) { // no bits set in fractional part in modf() 96 SET_HALF_WORD(x, i0 & 0x8000); in modf() 100 SET_HALF_WORD(*iptr, i0 & ~i); // zero out fractional parts in modf()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | s10_8pf.cpp | 568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local 601 i0 = pos_max[ipos[0]]; in search_10and8i40() 602 index[0] = i0; in search_10and8i40() 621 ps0 = (Word16)((Word32) dn[i0] + dn[i1]); in search_10and8i40() 624 alp0 = (Word32) rr[i0][i0] << 12; in search_10and8i40() 630 alp0 += (Word32) rr[i0][i1] << 13; in search_10and8i40() 642 s += (Word32) * (p_temp2 + i0); in search_10and8i40() 664 alp1 += (Word32) * (p_temp2 + i0); in search_10and8i40() 708 s += (Word32) * (p_temp2 + i0); in search_10and8i40() 733 alp1 += (Word32) * (p_temp2 + i0) << 12; in search_10and8i40() [all …]
|
D | c3_14pf.cpp | 381 Word16 i0; in search_3i40() local 438 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_3i40() 440 if (dn2[i0] >= 0) in search_3i40() 442 ps0 = dn[i0]; in search_3i40() 445 alp0 = (Word32) rr[i0][i0] << 14; in search_3i40() 478 alp1 += (Word32) rr[i0][i1] << 15; in search_3i40() 536 alp1 += (Word32) rr[i0][i2] << 13; in search_3i40() 576 *(p_codvec++) = i0; in search_3i40()
|
D | c4_17pf.cpp | 394 Word16 i0; in search_4i40() local 451 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_4i40() 453 if (dn2[i0] >= 0) in search_4i40() 455 ps0 = dn[i0]; in search_4i40() 457 alp0 = (Word32) rr[i0][i0] << 14; in search_4i40() 488 alp1 += (Word32) rr[i0][i1] << 15; in search_4i40() 546 alp1 += (Word32) rr[i0][i2] << 13; in search_4i40() 601 alp1 += (Word32) rr[i0][i3] << 13; /* idx incr = STEP */ in search_4i40() 641 *(p_codvec++) = i0; in search_4i40()
|
D | c2_11pf.cpp | 411 Word16 i0; in search_2i40() local 458 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_2i40() 460 ps0 = dn[i0]; in search_2i40() 463 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40() 493 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40() 530 *(p_codvec++) = i0; in search_2i40()
|
D | c2_9pf.cpp | 595 Word16 i0; in search_2i40() local 642 for (i0 = *ipos; i0 < L_CODE; i0 += STEP) in search_2i40() 644 ps0 = *(dn + i0); in search_2i40() 648 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40() 684 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40() 719 *(p_codvec++) = i0; in search_2i40()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local 235 for (i0 = 0; i0 < L_SUBFR; i0 += STEP) in ACELP_2t64_fx() 237 ps1 = dn[i0]; in ACELP_2t64_fx() 256 ix = i0; in ACELP_2t64_fx() 269 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ in ACELP_2t64_fx() 278 i0 += NB_POS; in ACELP_2t64_fx() 291 *index = add1((i0 << 6), i1); in ACELP_2t64_fx()
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | relu1_quant8_2.mod.py | 25 i0 = Input("input", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 1.f, 128" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU1", i0).To(output) 34 input0 = {i0: input_values}
|
D | relu6_quant8_2.mod.py | 25 i0 = Input("input", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 1.f, 128" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU6", i0).To(output) 34 input0 = {i0: input_values}
|
D | relu1_float_2.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU1", i0).To(output) 34 input0 = {i0: input_values}
|
D | relu_quant8_2.mod.py | 25 i0 = Input("input", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 1.f, 128" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU", i0).To(output) 34 input0 = {i0: input_values}
|
D | relu6_float_2.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU6", i0).To(output) 34 input0 = {i0: input_values}
|
D | logistic_float_2.mod.py | 27 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 31 model = model.Operation("LOGISTIC", i0).To(output) 36 input0 = {i0: input_values}
|
D | relu_float_2.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU", i0).To(output) 34 input0 = {i0: input_values}
|
D | logistic_quant8_2.mod.py | 27 i0 = Input("input", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, .5f, 0" % (d0, d1, d2, d3)) variable 31 model = model.Operation("LOGISTIC", i0).To(output) 36 input0 = {i0: input_values}
|
D | avg_pool_quant8_3.mod.py | 25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) variable 42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou… 46 input0 = {i0: input_values}
|
D | avg_pool_float_4.mod.py | 25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn)) variable 42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act3).To(ou… 46 input0 = {i0: input_values}
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | logistic_float_2_relaxed.mod.py | 27 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 31 model = model.Operation("LOGISTIC", i0).To(output) 37 input0 = {i0: input_values}
|
D | relu6_float_2_relaxed.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU6", i0).To(output) 35 input0 = {i0: input_values}
|
D | relu_float_2_relaxed.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU", i0).To(output) 35 input0 = {i0: input_values}
|
D | relu1_float_2_relaxed.mod.py | 25 i0 = Input("input", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (d0, d1, d2, d3)) variable 29 model = model.Operation("RELU1", i0).To(output) 35 input0 = {i0: input_values}
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | relu_quant8_signed.mod.py | 53 i0 = Input("input", "TENSOR_QUANT8_ASYMM_SIGNED", "{%d, %d, %d, %d}, 1.f, 0" % (d0, d1, d2, d3)) variable 57 model = model.Operation("RELU", i0).To(output) 62 input0 = {i0: input_values} 66 input0 = {i0: [value - 128 for value in input_values]}
|