/external/ComputeLibrary/tests/validation/fixtures/ |
D | RangeFixture.h | 66 …float get_random_end(const DataType output_data_type, const QuantizationInfo qinfo_out, float star… in get_random_end() argument 99 dequantize_qasymm8(0, qinfo_out.uniform()), in get_random_end() 100 … dequantize_qasymm8(std::numeric_limits<uint8_t>::max(), qinfo_out.uniform())); in get_random_end() 106 …TensorType compute_target(const DataType output_data_type, const QuantizationInfo qinfo_out, float… in compute_target() argument 108 float end = get_random_end(output_data_type, qinfo_out, start, step); in compute_target() 111 …Type dst = create_tensor<TensorType>(TensorShape(num_of_elements), output_data_type, 1, qinfo_out); in compute_target() 127 …mpute_reference(const DataType output_data_type, const QuantizationInfo qinfo_out, float start, fl… in compute_reference() argument 130 const float end = get_random_end(output_data_type, qinfo_out, start, step); in compute_reference() 132 …r<T> ref_dst{ TensorShape(num_of_elements ? num_of_elements : 1), output_data_type, 1, qinfo_out }; in compute_reference()
|
D | ArithmeticOperationsFixture.h | 50 …QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out, ActivationLayerInfo … in setup() argument 55 …_target = compute_target(shape0, shape1, data_type, convert_policy, qinfo0, qinfo1, qinfo_out); in setup() 56 …ference = compute_reference(shape0, shape1, data_type, convert_policy, qinfo0, qinfo1, qinfo_out); in setup() 67 … QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out) in compute_target() argument 73 TensorType dst = create_tensor<TensorType>(out_shape, data_type, 1, qinfo_out); in compute_target() 79 …e = !arm_compute::detail::have_different_dimensions(out_shape, shape0, 0) && (qinfo0 == qinfo_out); in compute_target() 80 …e = !arm_compute::detail::have_different_dimensions(out_shape, shape1, 0) && (qinfo1 == qinfo_out); in compute_target() 127 … QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out) in compute_reference() argument 132 … SimpleTensor<T> ref_dst{ TensorShape::broadcast_shape(shape0, shape1), data_type, 1, qinfo_out }; in compute_reference() 139 … return _act_info.enabled() ? reference::activation_layer(result, _act_info, qinfo_out) : result; in compute_reference() [all …]
|
D | ElementwiseOperationsFixture.h | 52 …QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out, bool is_inplace = fa… 58 …ompute_target(shape0, shape1, data_type0, data_type1, output_data_type, qinfo0, qinfo1, qinfo_out); 59 …ute_reference(shape0, shape1, data_type0, data_type1, output_data_type, qinfo0, qinfo1, qinfo_out); 87 … QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out) in compute_target() argument 93 …TensorType dst = create_tensor<TensorType>(out_shape, output_data_type, 1, qinfo_out); in compute_target() 99 …::detail::have_different_dimensions(out_shape, shape0, 0) && (qinfo0 == qinfo_out) && (data_type0 … in compute_target() 100 …::detail::have_different_dimensions(out_shape, shape1, 0) && (qinfo1 == qinfo_out) && (data_type1 … in compute_target() 164 … QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out) in compute_reference() argument 169 …eTensor<T> ref_dst{ TensorShape::broadcast_shape(shape0, shape1), output_data_type, 1, qinfo_out }; in compute_reference() 193 …QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out, ActivationLayerInfo … [all …]
|
D | PixelWiseMultiplicationFixture.h | 58 QuantizationInfo qinfo_out, in setup() argument 63 …_in1, dt_in2, dt_out, scale, convert_policy, rounding_policy, qinfo0, qinfo1, qinfo_out, act_info); in setup() 64 …_in1, dt_in2, dt_out, scale, convert_policy, rounding_policy, qinfo0, qinfo1, qinfo_out, act_info); in setup() 76 …QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out, ActivationLayerInfo … in compute_target() argument 82 TensorType dst = create_tensor<TensorType>(out_shape, dt_out, 1, qinfo_out); in compute_target() 88 …::detail::have_different_dimensions(out_shape, shape0, 0) && (qinfo0 == qinfo_out) && (dt_in1 == d… in compute_target() 89 …::detail::have_different_dimensions(out_shape, shape1, 0) && (qinfo1 == qinfo_out) && (dt_in2 == d… in compute_target() 135 …QuantizationInfo qinfo0, QuantizationInfo qinfo1, QuantizationInfo qinfo_out, ActivationLayerInfo … in compute_reference() argument 145 …_multiplication<T1, T2, T3>(src1, src2, scale, convert_policy, rounding_policy, dt_out, qinfo_out); in compute_reference() 146 … return act_info.enabled() ? reference::activation_layer(result, act_info, qinfo_out) : result; in compute_reference() [all …]
|
/external/oss-fuzz/projects/unbound/ |
D | fuzz_1.c | 37 struct query_info qinfo_out; in LLVMFuzzerTestOneInput() local 38 memset(&qinfo_out, 0, sizeof(struct query_info)); in LLVMFuzzerTestOneInput() 39 qinfo_out.qname = (unsigned char *) "\03nic\02de"; in LLVMFuzzerTestOneInput() 54 scrub_message(pkt, &msg, &qinfo_out, peter, reg, &env, &ie); in LLVMFuzzerTestOneInput()
|
D | fuzz_4.c | 32 struct query_info qinfo_out; in LLVMFuzzerTestOneInput() local 33 memset(&qinfo_out, 0, sizeof(struct query_info)); in LLVMFuzzerTestOneInput() 34 qinfo_out.qname = (unsigned char *) "\03nic\02de"; in LLVMFuzzerTestOneInput() 71 scrub_message(pkt, &msg, &qinfo_out, peter, reg, &env, &ie); in LLVMFuzzerTestOneInput()
|
/external/ComputeLibrary/src/graph/mutators/ |
D | InPlaceOperationMutator.cpp | 127 const auto qinfo_out = current_output_tensor->desc().quant_info; in try_in_place_depthwiseconv() local 129 …have_different_dimensions(out_shape, input_shape, 0) && (qinfo_input == qinfo_out) && (input_tenso… in try_in_place_depthwiseconv() 181 const auto qinfo_out = current_output_tensor->desc().quant_info; in try_in_place_elementwise() local 184 …ce = !arm_compute::detail::have_different_dimensions(out_shape, shape0, 0) && (qinfo0 == qinfo_out) in try_in_place_elementwise() 186 …ce = !arm_compute::detail::have_different_dimensions(out_shape, shape1, 0) && (qinfo1 == qinfo_out) in try_in_place_elementwise()
|