/external/tensorflow/tensorflow/lite/kernels/ |
D | comparisons.cc | 47 const TfLiteTensor* input2; in ComparisonPrepareCommon() local 49 GetInputSafe(context, node, kInputTensor2, &input2)); in ComparisonPrepareCommon() 59 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in ComparisonPrepareCommon() 62 bool requires_broadcast = !HaveSameShapes(input1, input2); in ComparisonPrepareCommon() 67 context, input1, input2, &output_size)); in ComparisonPrepareCommon() 96 void ComparisonQuantized(const TfLiteTensor* input1, const TfLiteTensor* input2, in ComparisonQuantized() argument 100 auto input2_offset = -input2->params.zero_point; in ComparisonQuantized() 108 QuantizeMultiplier(input2->params.scale, &input2_multiplier, &input2_shift); in ComparisonQuantized() 121 GetTensorShape(input2), GetTensorData<input_dtype>(input2), in ComparisonQuantized() 126 GetTensorShape(input2), GetTensorData<input_dtype>(input2), in ComparisonQuantized() [all …]
|
D | floor_mod.cc | 64 const TfLiteTensor* input2; in Prepare() local 66 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 71 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 81 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 86 context, input1, input2, &output_size)); in Prepare() 96 const TfLiteTensor* input1, const TfLiteTensor* input2, in EvalImpl() argument 98 const T* denominator_data = GetTensorData<T>(input2); in EvalImpl() 100 if (input2->type == kTfLiteInt32 || input2->type == kTfLiteInt64) { in EvalImpl() 102 const int num_elements = NumElements(input2); in EvalImpl() 113 GetTensorShape(input2), denominator_data, GetTensorShape(output), in EvalImpl() [all …]
|
D | sub.cc | 168 const TfLiteTensor* input2, in PrepareInt16SubOpPOT() argument 180 TF_LITE_ENSURE_EQ(context, input2->params.zero_point, 0); in PrepareInt16SubOpPOT() 190 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in PrepareInt16SubOpPOT() 223 const TfLiteTensor* input2; in Prepare() local 225 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 230 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 231 output->type = input2->type; in Prepare() 233 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 238 context, input1, input2, &output_size)); in Prepare() 261 if (input1->type == kTfLiteInt16 && input2->type == kTfLiteInt16 && in Prepare() [all …]
|
D | div.cc | 80 const TfLiteTensor* input2; in Prepare() local 82 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 87 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 88 output->type = input2->type; in Prepare() 90 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 95 context, input1, input2, &output_size)); in Prepare() 105 input1->params.scale / (input2->params.scale * output->params.scale); in Prepare() 116 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalDiv() argument 125 GetTensorData<data_type>(input1), GetTensorShape(input2), \ in EvalDiv() 126 GetTensorData<data_type>(input2), GetTensorShape(output), \ in EvalDiv() [all …]
|
D | squared_difference.cc | 46 T SquaredDifference(T input1, T input2) { in SquaredDifference() argument 47 const T difference = input1 - input2; in SquaredDifference() 70 const TfLiteTensor* input2; in Prepare() local 72 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 77 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 78 output->type = input2->type; in Prepare() 83 const auto& input2_quantization_params = input2->params; in Prepare() 134 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 139 context, input1, input2, &output_size)); in Prepare() 177 const TfLiteTensor* input2, in EvalQuantizedSquaredDifference() argument [all …]
|
D | floor_div.cc | 64 const TfLiteTensor* input2; in Prepare() local 66 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 71 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 85 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 90 context, input1, input2, &output_size)); in Prepare() 100 const TfLiteTensor* input1, const TfLiteTensor* input2, in EvalImpl() argument 102 const T* denominator_data = GetTensorData<T>(input2); in EvalImpl() 105 for (int i = 0; i < NumElements(input2); ++i) { in EvalImpl() 114 GetTensorShape(input2), denominator_data, GetTensorShape(output), in EvalImpl() 119 GetTensorShape(input2), GetTensorData<T>(input2), in EvalImpl() [all …]
|
D | pow.cc | 60 const TfLiteTensor* input2; in Prepare() local 62 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 67 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 77 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 82 context, input1, input2, &output_size)); in Prepare() 91 void PowImpl(const TfLiteTensor* input1, const TfLiteTensor* input2, in PowImpl() argument 96 GetTensorShape(input2), GetTensorData<T>(input2), in PowImpl() 100 GetTensorShape(input2), GetTensorData<T>(input2), in PowImpl() 124 const TfLiteTensor* input2; in Eval() local 126 GetInputSafe(context, node, kInputTensor2, &input2)); in Eval() [all …]
|
D | comparisons_test.cc | 45 ComparisonOpModel(const TensorData& input1, const TensorData& input2, in ComparisonOpModel() argument 48 input2_ = AddInput(input2); in ComparisonOpModel() 55 int input2() { return input2_; } in input2() function in tflite::__anon2ef3e57b0111::ComparisonOpModel 106 model.PopulateTensor<bool>(model.input2(), {true, true, false, false}); in TEST() 117 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.6, 0.5}); in TEST() 128 model.PopulateTensor<int>(model.input2(), {1, 2, 7, 5}); in TEST() 142 model.PopulateTensor<std::string>(model.input2(), {"A", "C", "B", "D"}); in TEST() 153 model.PopulateTensor<int>(model.input2(), {7}); in TEST() 164 model.PopulateTensor<int>(model.input2(), {7, 1, 2, 4}); in TEST() 179 model.PopulateTensor<std::string>(model.input2(), {"A"}); in TEST() [all …]
|
D | add.cc | 97 const TfLiteTensor* input2; in Prepare() local 99 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 104 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 105 output->type = input2->type; in Prepare() 107 const bool requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 112 context, input1, input2, &output_size)); in Prepare() 135 if (input1->type == kTfLiteInt16 && input2->type == kTfLiteInt16 && in Prepare() 140 TF_LITE_ENSURE_EQ(context, input2->params.zero_point, 0); in Prepare() 152 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in Prepare() 169 data->input2_offset = -input2->params.zero_point; in Prepare() [all …]
|
D | mul.cc | 83 const TfLiteTensor* input2; in Prepare() local 85 GetInputSafe(context, node, kInputTensor2, &input2)); in Prepare() 90 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 92 const bool requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 97 context, input1, input2, &output_size)); in Prepare() 108 input1->params.scale * input2->params.scale / output->params.scale; in Prepare() 119 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalMul() argument 122 GetTensorShape(input1), GetTensorShape(input2), &op_params); in EvalMul() 130 GetTensorData<data_type>(input1), GetTensorShape(input2), \ in EvalMul() 131 GetTensorData<data_type>(input2), GetTensorShape(output), \ in EvalMul() [all …]
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMINPUT.c | 47 struct v4l2_input input2; in test_VIDIOC_ENUMINPUT() local 84 memset(&input2, 0, sizeof(input2)); in test_VIDIOC_ENUMINPUT() 85 input2.index = input.index; in test_VIDIOC_ENUMINPUT() 86 strncpy((char *)input2.name, (char *)input.name, in test_VIDIOC_ENUMINPUT() 87 sizeof(input2.name)); in test_VIDIOC_ENUMINPUT() 88 input2.type = input.type; in test_VIDIOC_ENUMINPUT() 89 input2.audioset = input.audioset; in test_VIDIOC_ENUMINPUT() 90 input2.tuner = input.tuner; in test_VIDIOC_ENUMINPUT() 91 input2.std = input.std; in test_VIDIOC_ENUMINPUT() 92 input2.status = input.status; in test_VIDIOC_ENUMINPUT() [all …]
|
/external/ComputeLibrary/src/runtime/CL/functions/ |
D | CLElementwiseOperations.cpp | 53 void CLArithmeticAddition::configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, Conve… in configure() argument 55 … configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, policy, act_info); in configure() 58 …mpileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output… in configure() argument 62 _impl->src_1 = input2; in configure() 65 …_impl->op->configure(compile_context, input1->info(), input2->info(), output->info(), policy, act_… in configure() 68 Status CLArithmeticAddition::validate(const ITensorInfo *input1, const ITensorInfo *input2, const I… in validate() argument 70 return opencl::ClAdd::validate(input1, input2, output, policy, act_info); in validate() 99 void CLArithmeticSubtraction::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor… in configure() argument 101 … configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, policy, act_info); in configure() 104 …mpileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output… in configure() argument [all …]
|
D | CLComparison.cpp | 35 void CLComparison::configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, ComparisonOpe… in configure() argument 37 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, operation); in configure() 40 …e(const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output… in configure() argument 42 ARM_COMPUTE_LOG_PARAMS(input2, input2, output, operation); in configure() 44 k->configure(compile_context, input1, input2, output, operation); in configure() 49 ICLTensor *broadcasted_info = (input1->info()->dimension(0) == 1) ? input1 : input2; in configure() 58 Status CLComparison::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorIn… in validate() argument 60 return CLComparisonKernel::validate(input1, input2, output, operation); in validate() 64 void CLComparisonStatic<COP>::configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output) in configure() argument 66 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); in configure() [all …]
|
D | CLLogicalAnd.cpp | 36 …nst CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *outp… in configure() argument 38 ARM_COMPUTE_LOG_PARAMS(input1, input2, output); in configure() 40 k->configure(compile_context, LogicalOperation::And, input1, input2, output); in configure() 44 Status CLLogicalAnd::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorIn… in validate() argument 46 …e::opencl::kernels::ClLogicalBinaryKernel::validate(LogicalOperation::And, input1, input2, output); in validate() 71 void CLLogicalAnd::configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output) in configure() argument 73 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); in configure() 76 …e(const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output) in configure() argument 79 _impl->src1 = input2; in configure() 82 _impl->op->configure(compile_context, input1->info(), input2->info(), output->info()); in configure() [all …]
|
D | CLLogicalOr.cpp | 36 …nst CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *outp… in configure() argument 38 ARM_COMPUTE_LOG_PARAMS(input1, input2, output); in configure() 40 k->configure(compile_context, LogicalOperation::Or, input1, input2, output); in configure() 44 Status CLLogicalOr::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInf… in validate() argument 46 …te::opencl::kernels::ClLogicalBinaryKernel::validate(LogicalOperation::Or, input1, input2, output); in validate() 71 void CLLogicalOr::configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output) in configure() argument 73 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); in configure() 76 …e(const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output) in configure() argument 79 _impl->src1 = input2; in configure() 82 _impl->op->configure(compile_context, input1->info(), input2->info(), output->info()); in configure() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/jmh/ |
D | IOUtilsContentEqualsReadersBenchmark.java | 84 …public static boolean contentEquals_release_2_8_0(final Reader input1, final Reader input2) throws… in contentEquals_release_2_8_0() argument 85 if (input1 == input2) { in contentEquals_release_2_8_0() 88 if (input1 == null ^ input2 == null) { in contentEquals_release_2_8_0() 92 final BufferedReader bufferedInput2 = IOUtils.toBufferedReader(input2); in contentEquals_release_2_8_0() 106 …public static boolean contentEqualsPr118(final Reader input1, final Reader input2) throws IOExcept… in contentEqualsPr118() argument 107 if (input1 == input2) { in contentEqualsPr118() 110 if (input1 == null || input2 == null) { in contentEqualsPr118() 129 return pos2 == index && input2.read() == EOF; in contentEqualsPr118() 135 count2 = input2.read(array2, pos2, DEFAULT_BUFFER_SIZE - pos2); in contentEqualsPr118() 153 …Reader input2 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_B), DEFAULT_CHARSET… in testFileCurrent() argument [all …]
|
D | IOUtilsContentEqualsInputStreamsBenchmark.java | 82 …blic static boolean contentEquals_release_2_8_0(final InputStream input1, final InputStream input2) in contentEquals_release_2_8_0() argument 84 if (input1 == input2) { in contentEquals_release_2_8_0() 87 if (input1 == null ^ input2 == null) { in contentEquals_release_2_8_0() 91 final BufferedInputStream bufferedInput2 = buffer(input2); in contentEquals_release_2_8_0() 104 …public static boolean contentEqualsPr118(final InputStream input1, final InputStream input2) throw… in contentEqualsPr118() argument 105 if (input1 == input2) { in contentEqualsPr118() 108 if (input1 == null || input2 == null) { in contentEqualsPr118() 127 return pos2 == index && input2.read() == EOF; in contentEqualsPr118() 133 count2 = input2.read(array2, pos2, DEFAULT_BUFFER_SIZE - pos2); in contentEqualsPr118() 151 InputStream input2 = getClass().getResourceAsStream(TEST_PATH_B)) { in testFileCurrent() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | concat_test.cc | 34 TensorRef<BHWC> input1, input2, output; in TEST() local 39 input2.type = DataType::FLOAT32; in TEST() 40 input2.ref = 1; in TEST() 41 input2.shape = BHWC(1, 2, 2, 1); in TEST() 50 SingleOpModel model({ToString(OperationType::CONCAT), attr}, {input1, input2}, in TEST() 60 TensorRef<BHWC> input1, input2, output; in TEST() local 65 input2.type = DataType::FLOAT32; in TEST() 66 input2.ref = 1; in TEST() 67 input2.shape = BHWC(1, 1, 1, 4); in TEST() 76 SingleOpModel model({ToString(OperationType::CONCAT), attr}, {input1, input2}, in TEST() [all …]
|
/external/ComputeLibrary/src/runtime/NEON/functions/ |
D | NEElementwiseOperations.cpp | 50 void NEElementwiseMax::configure(ITensor *input1, ITensor *input2, ITensor *output, const Activatio… in configure() argument 54 _impl->src_1 = input2; in configure() 57 _impl->op->configure(input1->info(), input2->info(), output->info()); in configure() 60 Status NEElementwiseMax::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITens… in validate() argument 63 return cpu::CpuElementwiseMax::validate(input1, input2, output); in validate() 91 void NEElementwiseMin::configure(ITensor *input1, ITensor *input2, ITensor *output, const Activatio… in configure() argument 95 _impl->src_1 = input2; in configure() 98 _impl->op->configure(input1->info(), input2->info(), output->info()); in configure() 101 Status NEElementwiseMin::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITens… in validate() argument 104 return cpu::CpuElementwiseMin::validate(input1, input2, output); in validate() [all …]
|
/external/ComputeLibrary/src/core/NEON/kernels/ |
D | NEBitwiseXorKernel.cpp | 45 inline void bitwise_xor_U8_U8_U8(const uint8_t *__restrict input1, const uint8_t *__restrict input2… in bitwise_xor_U8_U8_U8() argument 48 const uint8x16_t val2 = vld1q_u8(input2); in bitwise_xor_U8_U8_U8() 59 void NEBitwiseXorKernel::configure(const ITensor *input1, const ITensor *input2, ITensor *output) in configure() argument 61 ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output); in configure() 67 set_format_if_unknown(*input2->info(), Format::U8); in configure() 69 ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(input1, input2, output); in configure() 71 ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input2, 1, DataType::U8); in configure() 73 ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(input1, input2, output); in configure() 76 _input2 = input2; in configure() 85 … AccessWindowHorizontal(input2->info(), 0, num_elems_processed_per_iteration), output_access); in configure() [all …]
|
D | NEBitwiseOrKernel.cpp | 45 inline void bitwise_or_U8_U8_U8(const uint8_t *__restrict input1, const uint8_t *__restrict input2,… in bitwise_or_U8_U8_U8() argument 48 const uint8x16_t val2 = vld1q_u8(input2); in bitwise_or_U8_U8_U8() 59 void NEBitwiseOrKernel::configure(const ITensor *input1, const ITensor *input2, ITensor *output) in configure() argument 61 ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output); in configure() 67 set_format_if_unknown(*input2->info(), Format::U8); in configure() 69 ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(input1, input2, output); in configure() 71 ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input2, 1, DataType::U8); in configure() 73 ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(input1, input2, output); in configure() 76 _input2 = input2; in configure() 87 … AccessWindowHorizontal(input2->info(), 0, num_elems_processed_per_iteration), in configure() [all …]
|
D | NEBitwiseAndKernel.cpp | 48 inline void bitwise_and(const T *__restrict input1, const T *__restrict input2, T *__restrict outpu… in bitwise_and() argument 52 const type val2 = vloadq(static_cast<const T *>(input2)); in bitwise_and() 63 void NEBitwiseAndKernel::configure(const ITensor *input1, const ITensor *input2, ITensor *output) in configure() argument 65 ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output); in configure() 71 set_format_if_unknown(*input2->info(), Format::U8); in configure() 73 ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(input1, input2, output); in configure() 75 ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input2, 1, DataType::U8); in configure() 77 ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(input1, input2, output); in configure() 80 _input2 = input2; in configure() 91 … AccessWindowHorizontal(input2->info(), 0, num_elems_processed_per_iteration), in configure() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.max.frag.out | 8 0:2 'input2' ( in 4-component vector of float) 13 0:3 'input2' ( in 4-component vector of float) 21 0:? 'input2' ( temp 4-component vector of float) 22 0:? 'input2' (layout( location=1) in 4-component vector of float) 27 0:? 'input2' ( temp 4-component vector of float) 31 0:? 'input2' (layout( location=1) in 4-component vector of float) 43 0:2 'input2' ( in 4-component vector of float) 48 0:3 'input2' ( in 4-component vector of float) 56 0:? 'input2' ( temp 4-component vector of float) 57 0:? 'input2' (layout( location=1) in 4-component vector of float) [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | hlsl.max.frag.out | 8 0:2 'input2' ( in 4-component vector of float) 13 0:3 'input2' ( in 4-component vector of float) 21 0:? 'input2' ( temp 4-component vector of float) 22 0:? 'input2' (layout( location=1) in 4-component vector of float) 27 0:? 'input2' ( temp 4-component vector of float) 31 0:? 'input2' (layout( location=1) in 4-component vector of float) 43 0:2 'input2' ( in 4-component vector of float) 48 0:3 'input2' ( in 4-component vector of float) 56 0:? 'input2' ( temp 4-component vector of float) 57 0:? 'input2' (layout( location=1) in 4-component vector of float) [all …]
|
/external/ComputeLibrary/arm_compute/runtime/CL/functions/ |
D | CLElementwiseOperations.h | 84 …void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, ConvertPolicy policy, cons… 110 …mpileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output… 136 …static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *ou… 194 …void configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, ConvertPolicy … 220 …mpileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output… 246 …static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *ou… 294 …void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, const ActivationLayerInfo … 305 …mpileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output… 315 …static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *ou… 370 …void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, const ActivationLayerInfo … [all …]
|