/external/tensorflow/tensorflow/lite/kernels/ |
D | pooling.cc | 130 tflite::PoolParams op_params; \ in AverageEvalFloat() 131 op_params.stride_height = params->stride_height; \ in AverageEvalFloat() 132 op_params.stride_width = params->stride_width; \ in AverageEvalFloat() 133 op_params.filter_height = params->filter_height; \ in AverageEvalFloat() 134 op_params.filter_width = params->filter_width; \ in AverageEvalFloat() 135 op_params.padding_values.height = data->padding.height; \ in AverageEvalFloat() 136 op_params.padding_values.width = data->padding.width; \ in AverageEvalFloat() 137 op_params.float_activation_min = activation_min; \ in AverageEvalFloat() 138 op_params.float_activation_max = activation_max; \ in AverageEvalFloat() 139 type::AveragePool(op_params, GetTensorShape(input), \ in AverageEvalFloat() [all …]
|
D | depthwise_conv.cc | 207 DepthwiseParams op_params; in EvalFloat() local 208 op_params.padding_type = PaddingType::kSame; in EvalFloat() 209 op_params.padding_values.width = data->padding.width; in EvalFloat() 210 op_params.padding_values.height = data->padding.height; in EvalFloat() 211 op_params.stride_width = params->stride_width; in EvalFloat() 212 op_params.stride_height = params->stride_height; in EvalFloat() 213 op_params.dilation_width_factor = params->dilation_width_factor; in EvalFloat() 214 op_params.dilation_height_factor = params->dilation_height_factor; in EvalFloat() 215 op_params.depth_multiplier = params->depth_multiplier; in EvalFloat() 216 op_params.float_activation_min = output_activation_min; in EvalFloat() [all …]
|
D | conv.cc | 445 ConvParams op_params; in EvalQuantized() local 446 op_params.padding_type = PaddingType::kSame; in EvalQuantized() 447 op_params.padding_values.width = data->padding.width; in EvalQuantized() 448 op_params.padding_values.height = data->padding.height; in EvalQuantized() 449 op_params.stride_width = params->stride_width; in EvalQuantized() 450 op_params.stride_height = params->stride_height; in EvalQuantized() 451 op_params.dilation_width_factor = params->dilation_width_factor; in EvalQuantized() 452 op_params.dilation_height_factor = params->dilation_height_factor; in EvalQuantized() 453 op_params.input_offset = input_offset; in EvalQuantized() 454 op_params.weights_offset = filter_offset; in EvalQuantized() [all …]
|
D | sub.cc | 76 TfLiteSubParams* params, OpData* op_params, in Prepare8BitSubOp() argument 107 op_params->input1_offset = -input1_quantization_params.zero_point; in Prepare8BitSubOp() 108 op_params->input2_offset = -input2_quantization_params.zero_point; in Prepare8BitSubOp() 109 op_params->output_offset = output_quantization_params.zero_point; in Prepare8BitSubOp() 110 op_params->left_shift = 20; in Prepare8BitSubOp() 120 ((1 << op_params->left_shift) * output_quantization_params.scale); in Prepare8BitSubOp() 123 &op_params->input1_multiplier, in Prepare8BitSubOp() 124 &op_params->input1_shift); in Prepare8BitSubOp() 126 &op_params->input2_multiplier, in Prepare8BitSubOp() 127 &op_params->input2_shift); in Prepare8BitSubOp() [all …]
|
D | activations.cc | 601 SoftmaxParams op_params; in Softmax3DFloat() local 602 op_params.beta = params->beta; in Softmax3DFloat() 604 op_params, GetTensorShape({batch_size, intermediate_size, 1, input_size}), in Softmax3DFloat() 617 SoftmaxParams op_params; in Softmax1DQuantizedUint8() local 618 op_params.input_multiplier = data->input_multiplier; in Softmax1DQuantizedUint8() 619 op_params.input_left_shift = data->input_left_shift; in Softmax1DQuantizedUint8() 620 op_params.diff_min = data->diff_min; in Softmax1DQuantizedUint8() 621 optimized_ops::Softmax(op_params, GetTensorShape({1, 1, 1, input_size}), in Softmax1DQuantizedUint8() 634 SoftmaxParams op_params; in Softmax2DQuantizedUint8() local 635 op_params.input_multiplier = data->input_multiplier; in Softmax2DQuantizedUint8() [all …]
|
D | add.cc | 183 tflite::ArithmeticParams op_params; \ in EvalAdd() 185 &op_params); \ in EvalAdd() 186 type::opname(op_params, GetTensorShape(input1), \ in EvalAdd() 229 tflite::ArithmeticParams op_params; in EvalAddQuantized() local 230 op_params.left_shift = data->left_shift; in EvalAddQuantized() 231 op_params.input1_offset = data->input1_offset; in EvalAddQuantized() 232 op_params.input1_multiplier = data->input1_multiplier; in EvalAddQuantized() 233 op_params.input1_shift = data->input1_shift; in EvalAddQuantized() 234 op_params.input2_offset = data->input2_offset; in EvalAddQuantized() 235 op_params.input2_multiplier = data->input2_multiplier; in EvalAddQuantized() [all …]
|
D | fully_connected.cc | 296 FullyConnectedParams op_params; in FullyConnectedInt8() local 297 op_params.input_offset = -input->params.zero_point; in FullyConnectedInt8() 298 op_params.weights_offset = -filter->params.zero_point; in FullyConnectedInt8() 299 op_params.output_offset = output->params.zero_point; in FullyConnectedInt8() 300 op_params.output_multiplier = data->output_multiplier; in FullyConnectedInt8() 301 op_params.output_shift = -data->output_shift; in FullyConnectedInt8() 302 op_params.quantized_activation_min = data->output_activation_min; in FullyConnectedInt8() 303 op_params.quantized_activation_max = data->output_activation_max; in FullyConnectedInt8() 305 op_params, GetTensorShape(input), GetTensorData<int8_t>(input), in FullyConnectedInt8() 325 FullyConnectedParams op_params; \ in EvalQuantized() [all …]
|
D | mul.cc | 116 tflite::ArithmeticParams op_params; \ in EvalMul() 118 &op_params); \ in EvalMul() 119 type::opname(op_params, GetTensorShape(input1), \ in EvalMul() 163 tflite::ArithmeticParams op_params; in EvalQuantized() local 165 data->output_activation_max, &op_params); in EvalQuantized() 166 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized() 167 op_params.input2_offset = -input2->params.zero_point; in EvalQuantized() 168 op_params.output_offset = output->params.zero_point; in EvalQuantized() 169 op_params.output_multiplier = data->output_multiplier; in EvalQuantized() 170 op_params.output_shift = data->output_shift; in EvalQuantized() [all …]
|
D | concatenation.cc | 118 tflite::ConcatenationParams op_params; \ in Eval() 119 op_params.axis = axis; \ in Eval() 120 op_params.inputs_count = node->inputs->size; \ in Eval() 121 type::Concatenation(op_params, all_inputs.shapes(), all_inputs.data(), \ in Eval() 129 tflite::ConcatenationParams op_params; \ in Eval() 130 op_params.axis = axis; \ in Eval() 131 op_params.input_zeropoint = all_inputs.zero_point(); \ in Eval() 132 op_params.input_scale = all_inputs.scale(); \ in Eval() 133 op_params.inputs_count = node->inputs->size; \ in Eval() 134 op_params.output_zeropoint = output->params.zero_point; \ in Eval() [all …]
|
D | reduce.cc | 259 tflite::MeanParams* op_params) { in ResolveAxis() argument 262 op_params->axis[i] = static_cast<int16>(axis_data[i]); in ResolveAxis() 265 op_params->axis[i] = 1; in ResolveAxis() 289 tflite::MeanParams op_params; in EvalMean() local 290 op_params.axis_count = num_axis; in EvalMean() 291 ResolveAxis(GetTensorData<int>(op_context.axis), num_axis, &op_params); in EvalMean() 294 op_params.axis_count == 2 && in EvalMean() 295 ((op_params.axis[0] == 1 && op_params.axis[1] == 2) || in EvalMean() 296 (op_params.axis[0] == 2 && op_params.axis[1] == 1))) { in EvalMean() 301 op_params, GetTensorShape(input), GetTensorData<uint8_t>(input), in EvalMean() [all …]
|
D | comparisons.cc | 81 ComparisonParams op_params; \ 82 op_params.left_shift = left_shift; \ 83 op_params.input1_offset = input1_offset; \ 84 op_params.input1_multiplier = input1_multiplier; \ 85 op_params.input1_shift = input1_shift; \ 86 op_params.input2_offset = input2_offset; \ 87 op_params.input2_multiplier = input2_multiplier; \ 88 op_params.input2_shift = input2_shift; \ 91 op_params, GetTensorShape(input1), \ 97 op_params, GetTensorShape(input1), \ [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 48 tflite::DepthwiseParams op_params; in DepthwiseConv() local 50 op_params.padding_type = PaddingType::kSame; in DepthwiseConv() 51 op_params.padding_values.width = pad_width; in DepthwiseConv() 52 op_params.padding_values.height = pad_height; in DepthwiseConv() 53 op_params.stride_width = stride_width; in DepthwiseConv() 54 op_params.stride_height = stride_height; in DepthwiseConv() 55 op_params.dilation_width_factor = dilation_width_factor; in DepthwiseConv() 56 op_params.dilation_height_factor = dilation_height_factor; in DepthwiseConv() 57 op_params.depth_multiplier = depth_multiplier; in DepthwiseConv() 58 op_params.float_activation_min = output_activation_min; in DepthwiseConv() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 147 tflite::DepthwiseParams op_params; in DepthwiseConv() local 149 op_params.padding_type = PaddingType::kSame; in DepthwiseConv() 150 op_params.padding_values.width = pad_width; in DepthwiseConv() 151 op_params.padding_values.height = pad_height; in DepthwiseConv() 152 op_params.stride_width = stride_width; in DepthwiseConv() 153 op_params.stride_height = stride_height; in DepthwiseConv() 154 op_params.dilation_width_factor = dilation_width_factor; in DepthwiseConv() 155 op_params.dilation_height_factor = dilation_height_factor; in DepthwiseConv() 156 op_params.depth_multiplier = depth_multiplier; in DepthwiseConv() 157 op_params.float_activation_min = output_activation_min; in DepthwiseConv() [all …]
|
/external/libaom/libaom/av1/common/ |
D | timing.c | 60 void set_dec_model_op_parameters(aom_dec_model_op_parameters_t *op_params) { in set_dec_model_op_parameters() argument 61 op_params->decoder_model_param_present_flag = 1; in set_dec_model_op_parameters() 62 op_params->decoder_buffer_delay = 90000 >> 1; // 0.5 s in set_dec_model_op_parameters() 63 op_params->encoder_buffer_delay = 90000 >> 1; // 0.5 s in set_dec_model_op_parameters() 64 op_params->low_delay_mode_flag = 0; in set_dec_model_op_parameters() 65 op_params->display_model_param_present_flag = 1; in set_dec_model_op_parameters() 66 op_params->initial_display_delay = 8; // 8 frames delay in set_dec_model_op_parameters() 70 aom_dec_model_op_parameters_t *op_params) { in set_resource_availability_parameters() argument 71 op_params->decoder_model_param_present_flag = 0; in set_resource_availability_parameters() 72 op_params->decoder_buffer_delay = in set_resource_availability_parameters() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | depthwise_conv.cc | 102 tflite::DepthwiseParams op_params; in EvalFloat() local 104 op_params.padding_type = PaddingType::kSame; in EvalFloat() 105 op_params.padding_values.width = data->padding.width; in EvalFloat() 106 op_params.padding_values.height = data->padding.height; in EvalFloat() 107 op_params.stride_width = params->stride_width; in EvalFloat() 108 op_params.stride_height = params->stride_height; in EvalFloat() 109 op_params.dilation_width_factor = 1; in EvalFloat() 110 op_params.dilation_height_factor = 1; in EvalFloat() 111 op_params.depth_multiplier = params->depth_multiplier; in EvalFloat() 112 op_params.float_activation_min = output_activation_min; in EvalFloat() [all …]
|
D | softmax.cc | 96 SoftmaxParams op_params; in Softmax1DQuantized() local 97 op_params.input_multiplier = data->input_multiplier; in Softmax1DQuantized() 98 op_params.input_left_shift = data->input_left_shift; in Softmax1DQuantized() 99 op_params.diff_min = data->diff_min; in Softmax1DQuantized() 100 tflite::reference_ops::Softmax(op_params, shape, in Softmax1DQuantized() 115 SoftmaxParams op_params; in Softmax2DQuantized() local 116 op_params.input_multiplier = data->input_multiplier; in Softmax2DQuantized() 117 op_params.input_left_shift = data->input_left_shift; in Softmax2DQuantized() 118 op_params.diff_min = data->diff_min; in Softmax2DQuantized() 119 tflite::reference_ops::Softmax(op_params, shape, in Softmax2DQuantized() [all …]
|
D | fully_connected.cc | 90 tflite::FullyConnectedParams op_params; in EvalQuantized() local 91 op_params.input_offset = input_offset; in EvalQuantized() 92 op_params.weights_offset = filter_offset; in EvalQuantized() 93 op_params.output_offset = output_offset; in EvalQuantized() 94 op_params.output_multiplier = data->output_multiplier; in EvalQuantized() 96 op_params.output_shift = -data->output_shift; in EvalQuantized() 97 op_params.quantized_activation_min = data->output_activation_min; in EvalQuantized() 98 op_params.quantized_activation_max = data->output_activation_max; in EvalQuantized() 102 op_params, GetTensorShape(input), GetTensorData<uint8_t>(input), \ in EvalQuantized() 131 tflite::FullyConnectedParams op_params; in EvalFloat() local [all …]
|
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
D | high_speed_env_spec.c | 147 struct op_params sata_port0_power_up_params[] = { 166 struct op_params sata_port1_power_up_params[] = { 186 struct op_params sata_and_sgmii_power_up_params[] = { 203 struct op_params sata_and_sgmii_speed_config_params[] = { 220 struct op_params sata_and_sgmii_tx_config_params1[] = { 235 struct op_params sata_port0_tx_config_params[] = { 250 struct op_params sata_port1_tx_config_params[] = { 265 struct op_params sata_and_sgmii_tx_config_serdes_rev1_params2[] = { 276 struct op_params sata_and_sgmii_tx_config_serdes_rev2_params2[] = { 302 struct op_params sata_electrical_config_serdes_rev1_params[] = { [all …]
|
D | seq_exec.h | 25 struct op_params { struct 42 struct op_params *op_params_ptr; argument 52 typedef int (*op_execute_func_ptr)(u32 serdes_num, struct op_params *params, 56 int write_op_execute(u32 serdes_num, struct op_params *params, 58 int delay_op_execute(u32 serdes_num, struct op_params *params, 60 int poll_op_execute(u32 serdes_num, struct op_params *params, u32 data_arr_idx); 61 enum mv_op get_cfg_seq_op(struct op_params *params);
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/ |
D | depthwise_conv.cc | 293 tflite::DepthwiseParams op_params; in EvalFloat() local 295 op_params.padding_type = PaddingType::kSame; in EvalFloat() 296 op_params.padding_values.width = data->padding.width; in EvalFloat() 297 op_params.padding_values.height = data->padding.height; in EvalFloat() 298 op_params.stride_width = params->stride_width; in EvalFloat() 299 op_params.stride_height = params->stride_height; in EvalFloat() 300 op_params.dilation_width_factor = 1; in EvalFloat() 301 op_params.dilation_height_factor = 1; in EvalFloat() 302 op_params.depth_multiplier = params->depth_multiplier; in EvalFloat() 303 op_params.float_activation_min = output_activation_min; in EvalFloat() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | strided_slice_logic.h | 173 tflite::StridedSliceParams op_params; in BuildStridedSliceParams() local 176 op_params.start_indices_count = dims_count; in BuildStridedSliceParams() 177 op_params.stop_indices_count = dims_count; in BuildStridedSliceParams() 178 op_params.strides_count = dims_count; in BuildStridedSliceParams() 180 op_params.start_indices[i] = start_indices[i]; in BuildStridedSliceParams() 181 op_params.stop_indices[i] = stop_indices[i]; in BuildStridedSliceParams() 182 op_params.strides[i] = strides[i]; in BuildStridedSliceParams() 185 op_params.begin_mask = begin_mask; in BuildStridedSliceParams() 186 op_params.ellipsis_mask = 0; in BuildStridedSliceParams() 187 op_params.end_mask = end_mask; in BuildStridedSliceParams() [all …]
|
D | depthwiseconv_float_test.cc | 127 DepthwiseParams op_params; in TryTestOneDepthwiseConv() local 128 op_params.padding_type = PaddingType::kSame; in TryTestOneDepthwiseConv() 129 op_params.padding_values.width = pad_width; in TryTestOneDepthwiseConv() 130 op_params.padding_values.height = pad_height; in TryTestOneDepthwiseConv() 131 op_params.stride_width = stride; in TryTestOneDepthwiseConv() 132 op_params.stride_height = stride; in TryTestOneDepthwiseConv() 133 op_params.dilation_width_factor = dilation_width_factor; in TryTestOneDepthwiseConv() 134 op_params.dilation_height_factor = dilation_height_factor; in TryTestOneDepthwiseConv() 135 op_params.depth_multiplier = depth_multiplier; in TryTestOneDepthwiseConv() 136 op_params.float_activation_min = output_activation_min; in TryTestOneDepthwiseConv() [all …]
|
D | depthwiseconv_quantized_test.cc | 302 tflite::DepthwiseParams op_params; in TestOneDepthwiseConvWithGivenOutputShift() local 303 op_params.padding_type = padding_type; in TestOneDepthwiseConvWithGivenOutputShift() 304 op_params.padding_values.width = pad_width; in TestOneDepthwiseConvWithGivenOutputShift() 305 op_params.padding_values.height = pad_height; in TestOneDepthwiseConvWithGivenOutputShift() 306 op_params.stride_width = stride; in TestOneDepthwiseConvWithGivenOutputShift() 307 op_params.stride_height = stride; in TestOneDepthwiseConvWithGivenOutputShift() 308 op_params.dilation_width_factor = 1; in TestOneDepthwiseConvWithGivenOutputShift() 309 op_params.dilation_height_factor = 1; in TestOneDepthwiseConvWithGivenOutputShift() 310 op_params.depth_multiplier = depth_multiplier; in TestOneDepthwiseConvWithGivenOutputShift() 311 op_params.quantized_activation_min = output_activation_min; in TestOneDepthwiseConvWithGivenOutputShift() [all …]
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | seq_exec.h | 25 struct op_params { struct 42 struct op_params *op_params_ptr; argument 52 typedef int (*op_execute_func_ptr)(u32 serdes_num, struct op_params *params, 56 int write_op_execute(u32 serdes_num, struct op_params *params, 58 int delay_op_execute(u32 serdes_num, struct op_params *params, 60 int poll_op_execute(u32 serdes_num, struct op_params *params, u32 data_arr_idx); 61 enum mv_op get_cfg_seq_op(struct op_params *params);
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | mean.h | 23 inline void Mean(const tflite::MeanParams& op_params, int32_t multiplier, in Mean() argument 44 TFLITE_DCHECK_EQ(op_params.axis_count, 2); in Mean() 45 TFLITE_DCHECK((op_params.axis[0] == 1 && op_params.axis[1] == 2) || in Mean() 46 (op_params.axis[0] == 2 && op_params.axis[1] == 1)); in Mean()
|