Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 109) sorted by relevance

12345

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.h99 double b0,b1; in db_MultiplyPoly1_1() local
101 b0=b[0];b1=b[1]; in db_MultiplyPoly1_1()
104 d[1]=a0*b1+a1*b0; in db_MultiplyPoly1_1()
105 d[2]= a1*b1; in db_MultiplyPoly1_1()
111 double b0,b1,b2; in db_MultiplyPoly0_2() local
113 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly0_2()
116 d[1]=a0*b1; in db_MultiplyPoly0_2()
123 double b0,b1,b2; in db_MultiplyPoly1_2() local
125 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly1_2()
128 d[1]=a0*b1+a1*b0; in db_MultiplyPoly1_2()
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Ddepthwise_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.005, 0),
79 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
81 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
87 b1: ("TENSOR_INT32", 0.005, 0),
168 b1 = Parameter("op3", "TENSOR_INT32", "{2}", [0, 0]) variable
170 Model("same").Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 1, 0).To(o1)
221 b1 = Parameter("op3", "TENSOR_INT32", "{4}, 0.25f, 0", [4, 8, 12, 16]) variable
229 i1, f1, b1,
[all …]
Dconv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
73 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
81 b1: ("TENSOR_INT32", 0.0625, 0),
152 b1 = Parameter("op3", "TENSOR_INT32", "{3}", [4, 4, 4]) variable
154 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0).To(o1)
212 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
214 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1)
[all …]
Dtranspose_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
56 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [-1.5, -2]) # bias variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
66 b1: ("TENSOR_INT32", 0.25, 0),
73 b1: ("TENSOR_INT32", 0.25, 0),
81b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
88b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Dgrouped_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [10, -33.5]) # bias variable
25 Model().Operation("GROUPED_CONV_2D", i1, w1, b1, 0, 0, 0, 0, 1, 1, 2, act, layout).To(o1)
31 b1: ("TENSOR_INT32", 0.0625, 0),
38 b1: ("TENSOR_INT32", 0.0625, 0),
46b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
53b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Dtranspose_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
56 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [-1.5, -2]) # bias variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
66 b1: ("TENSOR_INT32", 0.25, 0),
73 b1: ("TENSOR_INT32", 0.25, 0),
81b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
88b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java47 MockTask b1 = addTask("b", 1); in testExecute() local
49 assertRanNever("step 0", a1, a2, a3, b1); in testExecute()
51 assertRanOnce("step 1", a1, b1); in testExecute()
54 assertRanOnce("step 2", a1, b1, a2); in testExecute()
57 assertRanOnce("step 3", a1, b1, a2, a3); in testExecute()
59 assertRanOnce("step 4", a1, b1, a2, a3); in testExecute()
65 MockTask b1 = addTask("b", 1); in testCancelPendingTasks() local
68 assertRanOnce("step 1", a1, b1); in testCancelPendingTasks()
71 assertRanOnce("step 1, after cancel", a1, b1); in testCancelPendingTasks()
74 assertRanOnce("step 2", a1, b1); in testCancelPendingTasks()
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java106 Bundle b1 = new Bundle(); in testDeepEquals_nestedNotEquals() local
107 b1.putParcelableArrayList("key", listOne); in testDeepEquals_nestedNotEquals()
113 assertThat(b1).isNotEqualTo(b1Clone); in testDeepEquals_nestedNotEquals()
114 assertThat(BundleUtil.deepEquals(b1, b1Clone)).isTrue(); in testDeepEquals_nestedNotEquals()
115 assertThat(BundleUtil.deepEquals(b1, b2)).isFalse(); in testDeepEquals_nestedNotEquals()
137 Bundle b1 = new Bundle(); in testDeepEquals_sparseArray() local
138 b1.putSparseParcelableArray("array1", array1); in testDeepEquals_sparseArray()
144 assertThat(b1).isNotEqualTo(b1Clone); in testDeepEquals_sparseArray()
145 assertThat(BundleUtil.deepEquals(b1, b1Clone)).isTrue(); in testDeepEquals_sparseArray()
146 assertThat(BundleUtil.deepEquals(b1, b2)).isFalse(); in testDeepEquals_sparseArray()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapUtils.java596 byte b1 = input[++in]; in quotedPrintableToUtf8()
598 if (b1 == '\r' && b2 == '\n') { in quotedPrintableToUtf8()
601 if (((b1 >= '0' && b1 <= '9') in quotedPrintableToUtf8()
602 || (b1 >= 'A' && b1 <= 'F') in quotedPrintableToUtf8()
603 || (b1 >= 'a' && b1 <= 'f')) in quotedPrintableToUtf8()
607 Log.v(TAG, "Found hex number: " + String.format("%c%c", b1, b2)); in quotedPrintableToUtf8()
608 if (b1 <= '9') { in quotedPrintableToUtf8()
609 b1 = (byte) (b1 - '0'); in quotedPrintableToUtf8()
610 } else if (b1 <= 'F') { in quotedPrintableToUtf8()
611 b1 = (byte) (b1 - 'A' + 10); in quotedPrintableToUtf8()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java533 … CaptureRequest.Builder b1 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in issuePreviewCaptureRequest() local
534 b1.set(CaptureRequest.CONTROL_MODE, CameraMetadata.CONTROL_MODE_USE_SCENE_MODE); in issuePreviewCaptureRequest()
535b1.set(CaptureRequest.CONTROL_SCENE_MODE, CameraMetadata.CONTROL_SCENE_MODE_FACE_PRIORITY); in issuePreviewCaptureRequest()
537 b1.set(CaptureRequest.CONTROL_AF_MODE, CameraMetadata.CONTROL_AF_MODE_AUTO); in issuePreviewCaptureRequest()
539b1.set(CaptureRequest.CONTROL_AF_MODE, CameraMetadata.CONTROL_AF_MODE_CONTINUOUS_PICTURE); in issuePreviewCaptureRequest()
542 b1.set(CaptureRequest.NOISE_REDUCTION_MODE, mCaptureNoiseMode); in issuePreviewCaptureRequest()
543 b1.set(CaptureRequest.EDGE_MODE, mCaptureEdgeMode); in issuePreviewCaptureRequest()
544b1.set(CaptureRequest.STATISTICS_FACE_DETECT_MODE, mCaptureFace ? mCameraInfoCache.bestFaceDetecti… in issuePreviewCaptureRequest()
549 b1.addTarget(mYuv1ImageReader.getSurface()); in issuePreviewCaptureRequest()
554 b1.addTarget(mRawImageReader.getSurface()); in issuePreviewCaptureRequest()
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Ddepthwise_conv2d_dilation.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.005, 0),
77 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
79 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
85 b1: ("TENSOR_INT32", 0.005, 0),
Dconv2d_dilation.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
73 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
81 b1: ("TENSOR_INT32", 0.0625, 0),
Dgrouped_conv2d.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [10, -33.5]) # bias variable
25 Model().Operation("GROUPED_CONV_2D", i1, w1, b1, 0, 0, 0, 0, 1, 1, 2, act, layout).To(o1)
31 b1: ("TENSOR_INT32", 0.0625, 0),
38 b1: ("TENSOR_INT32", 0.0625, 0),
46b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
53b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Ddepthwise_conv2d_invalid_filter_dims.mod.py24 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0.] * 4) variable
26 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.005, 0),
39 b1: ("TENSOR_INT32", 0.0, 0,
Dtranspose_conv2d_large.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
Ddepthwise_conv2d_v1_2.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o1)
30 b1: ("TENSOR_INT32", 0.005, 0),
36b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
42b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.005, 0.0025, 0.005,…
/packages/apps/Dialer/java/com/android/dialer/common/backoff/
DExponentialBaseCalculator.java98 double b1 = b0 - fb0 / fpb0; in getBaseImpl() local
99 double b1n = Math.pow(b1, n); in getBaseImpl()
100 double fb1 = f(b1, t, b1n); in getBaseImpl()
104 return b1; in getBaseImpl()
107 b0 = b1; in getBaseImpl()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3_cts_only/
Dconv2d_v1_3_invalid_rank.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
37 b1: ("TENSOR_INT32", 0.0, 0,
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
98 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
98 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java211 Bitmap b1; in transform() local
214 b1 = Bitmap.createBitmap(source, 0, 0, in transform()
217 b1 = source; in transform()
220 if (recycle && b1 != source) { in transform()
224 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform()
225 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
228 b1, in transform()
234 if (b2 != b1) { in transform()
235 if (recycle || b1 != source) { in transform()
236 b1.recycle(); in transform()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattCharacteristic.java701 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
702 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
706 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
707 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
713 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
715 unsignedToSigned(unsignedByteToInt(b0) + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()
716 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()
721 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
725 + (unsignedByteToInt(b1) << 8) in bytesToFloat()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/
Dconv_float_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_FLOAT32", "{1}") variable
28 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
35 b1:
Dconv_quant8_large_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_INT32", "{3}, 0.25, 0") variable
26 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
36 b1:
Dconv_quant8_channels_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_INT32", "{3}, 0.25, 0") variable
26 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
35 b1:

12345