Home
last modified time | relevance | path

Searched refs:in2 (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/common/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
86 convertFloat16ToFloat32(in2, &in2_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
187 in2, convertShapeToTflshape(shapeOut), out); 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
101 reinterpret_cast<const _Float16*>(in2), shape2, isMinimum, in eval()
106 reinterpret_cast<const float*>(in2), shape2, isMinimum, in eval()
111 reinterpret_cast<const int32_t*>(in2), shape2, isMinimum, in eval()
116 reinterpret_cast<const uint8_t*>(in2), shape2, isMinimum, in eval()
121 reinterpret_cast<const int8_t*>(in2), shape2, isMinimum, in eval()
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/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c431 uint8 *_RESTRICT_ in2, uint8 *_RESTRICT_ in3, uint8 *_RESTRICT_ in4, uint8 *_RESTRICT_ in5, in _scale_row_down_9in() argument
451 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
461 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
471 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
494 uint8 *_RESTRICT_ in2, uint8 *_RESTRICT_ in3, uint8 *_RESTRICT_ in4, uint8 *_RESTRICT_ in5, in _scale_row_down_8in() argument
515 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
524 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
533 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
555 uint8 *_RESTRICT_ in2, uint8 *_RESTRICT_ in3, uint8 *_RESTRICT_ in4, uint8 *_RESTRICT_ in5, in _scale_row_down_7in() argument
574 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
[all …]
/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp114 bool SameShape(const Shape& in1, const Shape& in2) { in SameShape() argument
115 if (in1.type != in2.type || in1.dimensions.size() != in2.dimensions.size()) { in SameShape()
119 if (in1.dimensions[i] != in2.dimensions[i]) { in SameShape()
339 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out) { in calculateBroadcastedShape() argument
340 NN_RET_CHECK(in1.type == in2.type); in calculateBroadcastedShape()
342 uint32_t numberOfDims2 = getNumberOfDimensions(in2); in calculateBroadcastedShape()
352 dim2 = getSizeOfDimension(in2, numberOfDims2 - i); in calculateBroadcastedShape()
DCpuExecutor.cpp1448 const RunTimeOperandInfo& in2 = operands[ins[1]]; in executeOperation() local
1454 success = maximum_minimum::prepare(in1.shape(), in2.shape(), &outputShape) && in executeOperation()
1456 maximum_minimum::eval(in1.buffer, in1.shape(), in2.buffer, in2.shape(), in executeOperation()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp24 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out);
307 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out) in vpmotion_add() argument
310 if(in1 == NULL || in2 == NULL || out == NULL) in vpmotion_add()
314 out->par[i] = in1->par[i] + in2->par[i]; in vpmotion_add()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidation.cpp1300 int in2 = 0; in TEST_F() local
1305 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F()
1491 int in2 = 0; in testConcurrentExecution() local
1496 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in testConcurrentExecution()
3140 int in2 = 0; in TEST_F() local
3145 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F()
3300 int in2 = 0; in runExecutionSetTimeoutTest() local
3305 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in runExecutionSetTimeoutTest()
/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h124 bool SameShape(const Shape& in1, const Shape& in2);
273 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out);
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar17933 … �`��ڜ�y{x� �>k��x�?�F�˄\g���T|�:��$e��~Xp$`7�ޣvݺ5��H�*+���(�y&��Ḩin2@�4ɲ�`O�Kt5�.��)�…