/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/ |
D | add_quant_adjustments.cc | 45 for (auto output_value : node_outputs) { in ApplyToNode() local 47 if (!output_value->quant_params) continue; in ApplyToNode() 48 auto consumers = graph->FindConsumers(output_value->id); in ApplyToNode() 64 attr.min = output_value->quant_params.value().min; in ApplyToNode() 65 attr.max = output_value->quant_params.value().max; in ApplyToNode() 66 attr.scale = output_value->quant_params.value().scale; in ApplyToNode() 72 adjusted_value->tensor = output_value->tensor; in ApplyToNode() 82 status = graph->ReplaceInput(consumer->id, output_value->id, in ApplyToNode() 93 status = graph->AddConsumer(quant_and_dequant_node->id, output_value->id); in ApplyToNode() 103 output_value->quant_params.reset(); in ApplyToNode()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | prelu.h | 49 int32_t output_value; in BroadcastPrelu4DSlow() local 51 output_value = MultiplyByQuantizedMultiplier( in BroadcastPrelu4DSlow() 58 output_value = MultiplyByQuantizedMultiplier( in BroadcastPrelu4DSlow() 62 output_value += params.output_offset; in BroadcastPrelu4DSlow() 67 std::min(quantized_max, std::max(quantized_min, output_value)); in BroadcastPrelu4DSlow() 87 int32_t output_value; in Prelu() local 89 output_value = MultiplyByQuantizedMultiplier( in Prelu() 94 output_value = MultiplyByQuantizedMultiplier(input_value * alpha_value, in Prelu() 98 output_value += params.output_offset; in Prelu() 101 std::min(quantized_max, std::max(quantized_min, output_value)); in Prelu()
|
D | hard_swish.h | 152 int16_t output_value = gemmlowp::RoundingDivideByPOT( in HardSwish() local 154 output_value += params.output_zero_point; in HardSwish() 155 output_value = in HardSwish() 156 std::min<int16_t>(output_value, std::numeric_limits<T>::max()); in HardSwish() 157 output_value = in HardSwish() 158 std::max<int16_t>(output_value, std::numeric_limits<T>::min()); in HardSwish() 159 output_data[i] = output_value; in HardSwish()
|
/external/OpenCL-CTS/test_conformance/spirv_new/spirv_asm/ |
D | op_spec_constant_double_simple.spvasm32 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_double 31 %12 = OpLoad %double %output_value Aligned 8 34 OpStore %output_value %add Aligned 8
|
D | op_spec_constant_ushort_simple.spvasm32 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_ushort 31 %12 = OpLoad %ushort %output_value Aligned 2 34 OpStore %output_value %add Aligned 2
|
D | op_spec_constant_double_simple.spvasm64 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_double 31 %12 = OpLoad %double %output_value Aligned 8 34 OpStore %output_value %add Aligned 8
|
D | op_spec_constant_float_simple.spvasm32 | 14 OpName %output_value "output_value" 28 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_float 30 %12 = OpLoad %float %output_value Aligned 4 33 OpStore %output_value %add Aligned 4
|
D | op_spec_constant_uint_simple.spvasm32 | 14 OpName %output_value "output_value" 28 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uint 30 %12 = OpLoad %uint %output_value Aligned 4 33 OpStore %output_value %add Aligned 4
|
D | op_spec_constant_float_simple.spvasm64 | 14 OpName %output_value "output_value" 28 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_float 30 %12 = OpLoad %float %output_value Aligned 4 33 OpStore %output_value %add Aligned 4
|
D | op_spec_constant_ulong_simple.spvasm32 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_ulong 31 %12 = OpLoad %ulong %output_value Aligned 8 34 OpStore %output_value %add Aligned 8
|
D | op_spec_constant_ushort_simple.spvasm64 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_ushort 31 %12 = OpLoad %ushort %output_value Aligned 2 34 OpStore %output_value %add Aligned 2
|
D | op_spec_constant_ulong_simple.spvasm64 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_ulong 31 %12 = OpLoad %ulong %output_value Aligned 8 34 OpStore %output_value %add Aligned 8
|
D | op_spec_constant_half_simple.spvasm32 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_half 31 %12 = OpLoad %half %output_value Aligned 2 34 OpStore %output_value %add Aligned 2
|
D | op_spec_constant_uint_simple.spvasm64 | 14 OpName %output_value "output_value" 28 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uint 30 %12 = OpLoad %uint %output_value Aligned 4 33 OpStore %output_value %add Aligned 4
|
D | op_spec_constant_half_simple.spvasm64 | 15 OpName %output_value "output_value" 29 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_half 31 %12 = OpLoad %half %output_value Aligned 2 34 OpStore %output_value %add Aligned 2
|
D | op_spec_constant_uchar_simple.spvasm32 | 15 OpName %output_value "output_value" 30 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 32 %12 = OpLoad %uchar %output_value Aligned 1 35 OpStore %output_value %add Aligned 1
|
D | op_spec_constant_uchar_simple.spvasm64 | 15 OpName %output_value "output_value" 30 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 32 %12 = OpLoad %uchar %output_value Aligned 1 35 OpStore %output_value %add Aligned 1
|
D | op_spec_constant_false_simple.spvasm64 | 17 OpName %output_value "output_value" 40 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 47 %21 = OpLoad %uchar %output_value Aligned 1 51 OpStore %output_value %conv1 Aligned 1
|
D | op_spec_constant_true_simple.spvasm32 | 17 OpName %output_value "output_value" 40 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 47 %21 = OpLoad %uchar %output_value Aligned 1 51 OpStore %output_value %conv1 Aligned 1
|
D | op_spec_constant_true_simple.spvasm64 | 17 OpName %output_value "output_value" 40 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 47 %21 = OpLoad %uchar %output_value Aligned 1 51 OpStore %output_value %conv1 Aligned 1
|
D | op_spec_constant_false_simple.spvasm32 | 17 OpName %output_value "output_value" 40 %output_value = OpFunctionParameter %_ptr_CrossWorkgroup_uchar 47 %21 = OpLoad %uchar %output_value Aligned 1 51 OpStore %output_value %conv1 Aligned 1
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/sparkfun_edge/ |
D | audio_provider.cc | 359 int32_t output_value = capture_value - kAdcSampleDC; in GetAudioSamples() local 360 output_value *= kAdcSampleGain; in GetAudioSamples() 361 if (output_value < std::numeric_limits<int16_t>::min()) { in GetAudioSamples() 362 output_value = std::numeric_limits<int16_t>::min(); in GetAudioSamples() 364 if (output_value > std::numeric_limits<int16_t>::max()) { in GetAudioSamples() 365 output_value = std::numeric_limits<int16_t>::max(); in GetAudioSamples() 367 g_audio_output_buffer[i] = output_value; in GetAudioSamples()
|
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/ |
D | saved_model_api_test.cc | 139 float output_value = *static_cast<float*>(TF_TensorData(result)); in TEST_P() local 141 EXPECT_FLOAT_EQ(output_value, 8.0); in TEST_P() 279 float output_value = *static_cast<float*>(TF_TensorData(result)); in TEST_P() local 281 EXPECT_FLOAT_EQ(output_value, 8.0); in TEST_P() 335 tensorflow::tstring* output_value = in TEST_P() local 337 std::string file_contents(*output_value); in TEST_P() 404 tensorflow::int64* output_value = in TEST_P() local 406 EXPECT_EQ(*output_value, 0); in TEST_P() 436 tensorflow::int64* output_value = in TEST_P() local 438 EXPECT_EQ(*output_value, 2); in TEST_P() [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_to_tensor_op_test.py | 512 output_value = [[1, 2, 3], [4, 0, 0], [5, 6, 0]], 521 output_value = [ 532 output_value = [ 543 output_value = [[[9, 8], [6, 3]], [[5, 4], [3, 3]]], 553 output_value = [[[9, 8], [7, 6]], [[5, 4], [3, 3]]], 563 output_value = [[[9, 8], [7, 6]], [[5, 4], [3, 2]]], 573 output_value = [[[9, 8], [7, 6]], [[5, 4], [3, 3]]], 583 output_value = [[[[9], [8]], [[7], [6]], [[3], [2]]], 597 output_value = [[[[9], [8]], [[7], [6]], [[3], [3]]], 610 output_value = [], [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_batch_norm_op.cc | 66 float output_value; in ReferenceBatchNorm() local 68 output_value = (((input_value - mean_value) / in ReferenceBatchNorm() 73 output_value = ((input_value - mean_value) / in ReferenceBatchNorm() 78 *output_min = std::min(output_value, *output_min); in ReferenceBatchNorm() 79 *output_max = std::max(output_value, *output_max); in ReferenceBatchNorm() 82 FloatToQuantized<T2>(output_value, *output_min, *output_max); in ReferenceBatchNorm() 154 const T2 output_value = in FixedPointBatchNorm() local 156 output_flat(input_index) = output_value; in FixedPointBatchNorm()
|