Home
last modified time | relevance | path

Searched refs:in1 (Results 1 – 22 of 22) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DBroadcast.cpp77 const float* in1, const Shape& shape1, const float* in2, const Shape& shape2,
80 bool binaryOperationFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, in binaryOperationFloat16() argument
84 convertFloat16ToFloat32(in1, &in1_float32); in binaryOperationFloat16()
96 bool addFloat32(const float* in1, const Shape& shape1, const float* in2, const Shape& shape2, in addFloat32() argument
104 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32()
113 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32()
123 bool addFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, const Shape& shape2, in addFloat16() argument
126 return binaryOperationFloat16(in1, shape1, in2, shape2, activation, out, shapeOut, &addFloat32); in addFloat16()
130 bool addQuant8(const T* in1, const Shape& shape1, const T* in2, const Shape& shape2, in addQuant8() argument
186 op_params, convertShapeToTflshape(shape1), in1, convertShapeToTflshape(shape2), in addQuant8()
[all …]
DMaximumMinimum.cpp90 bool prepare(const Shape& in1, const Shape& in2, Shape* out) { in prepare() argument
91 NN_CHECK(in1.type == in2.type); in prepare()
92 return calculateBroadcastedShape(in1, in2, out); in prepare()
95 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2, in eval() argument
100 return evalGeneric(reinterpret_cast<const _Float16*>(in1), shape1, in eval()
105 return evalGeneric(reinterpret_cast<const float*>(in1), shape1, in eval()
110 return evalGeneric(reinterpret_cast<const int32_t*>(in1), shape1, in eval()
115 return evalQuant8(reinterpret_cast<const uint8_t*>(in1), shape1, in eval()
120 return evalQuant8(reinterpret_cast<const int8_t*>(in1), shape1, in eval()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c430 static inline void _scale_row_down_9in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_9in() argument
450 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
460 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
470 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
493 static inline void _scale_row_down_8in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_8in() argument
514 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
523 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
532 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
554 static inline void _scale_row_down_7in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_7in() argument
573 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
[all …]
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/
Dsynthesis-dct8.c97 double in0, in1, in2, in3; in float_dct2_8() local
102 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); in float_dct2_8()
103 OI_ASSERT(VALID_INT32(in1)); in float_dct2_8()
119 L01 = (in1 + in6); in float_dct2_8()
130 L06 = (in1 - in6); in float_dct2_8()
259 int32_t in0, in1, in2, in3; in dct2_8() local
264 in1 = SCALE(in[1], DCTII_8_SHIFT_IN); in dct2_8()
273 in1 = in[1]; in dct2_8()
283 L01 = in1 + in6; in dct2_8()
289 L06 = in1 - in6; in dct2_8()
/packages/modules/NeuralNetworks/common/types/src/
DOperationsUtils.cpp29 bool SameShape(const Shape& in1, const Shape& in2) { in SameShape() argument
30 if (in1.type != in2.type || in1.dimensions.size() != in2.dimensions.size()) { in SameShape()
33 for (size_t i = 0; i < in1.dimensions.size(); i++) { in SameShape()
34 if (in1.dimensions[i] != in2.dimensions[i]) { in SameShape()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp24 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out);
25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
309 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out) in vpmotion_add() argument
312 if(in1 == NULL || in2 == NULL || out == NULL) in vpmotion_add()
316 out->par[i] = in1->par[i] + in2->par[i]; in vpmotion_add()
321 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) in vpmotion_multiply() argument
324 if(in1 == NULL || out == NULL) in vpmotion_multiply()
328 out->par[i] = in1->par[i] * factor; in vpmotion_multiply()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java279 Intent in1 = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker() local
280 in1.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in launchDevicePicker()
281 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); in launchDevicePicker()
282 in1.putExtra( in launchDevicePicker()
285 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE, getPackageName()); in launchDevicePicker()
286 in1.putExtra( in launchDevicePicker()
289 startActivity(in1); in launchDevicePicker()
DBluetoothOppService.java655 Intent in1 =
657 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false);
658 in1.putExtra(
661 in1.putExtra(
664 in1.putExtra(
668 in1.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
669 context.startActivity(in1);
/packages/modules/NeuralNetworks/common/types/operations/include/
DMaximumMinimum.h26 bool prepare(const Shape& in1, const Shape& in2, Shape* output);
28 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2,
DPow.h26 bool prepare(const Shape& in1, const Shape& in2, Shape* output);
/packages/modules/NeuralNetworks/common/
DOperationsExecutionUtils.cpp248 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out) { in calculateBroadcastedShape() argument
249 NN_RET_CHECK(in1.type == in2.type); in calculateBroadcastedShape()
250 uint32_t numberOfDims1 = getNumberOfDimensions(in1); in calculateBroadcastedShape()
257 dim1 = getSizeOfDimension(in1, numberOfDims1 - i); in calculateBroadcastedShape()
DCpuExecutor.cpp1448 const RunTimeOperandInfo& in1 = operands[ins[0]]; in executeOperation() local
1455 success = maximum_minimum::prepare(in1.shape(), in2.shape(), &outputShape) && in executeOperation()
1457 maximum_minimum::eval(in1.buffer, in1.shape(), in2.buffer, in2.shape(), in executeOperation()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidation.cpp1321 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in TEST_F() local
1325 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F()
1518 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in testConcurrentExecution() local
1522 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in testConcurrentExecution()
3213 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in TEST_F() local
3217 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F()
3373 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in runExecutionSetTimeoutTest() local
3377 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in runExecutionSetTimeoutTest()
4153 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in TEST_F() local
4157 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F()
/packages/modules/NeuralNetworks/common/types/include/
DOperationsUtils.h165 bool SameShape(const Shape& in1, const Shape& in2);
/packages/modules/NeuralNetworks/common/include/
DOperationsExecutionUtils.h215 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out);
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar16245 …�FF�l���p� ���#�m�ɖ+��ONk_G��Ɍ\�n�rwu���Z�,,,��v�iV4Uݿ����zEX�O鍡j�$in1��)i#��s����0����…