/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | lstm_utils.cc | 25 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer, in CopyArrayData() 27 Buffer<ArrayDataType::kFloat>* dst_buffer, int dst_stride, in CopyArrayData() 41 Buffer<ArrayDataType::kFloat>* CreateFloatArrayBuffer(Model* model, in CreateFloatArrayBuffer() 46 array.data_type = ArrayDataType::kFloat; in CreateFloatArrayBuffer() 48 Buffer<ArrayDataType::kFloat>* buffer = in CreateFloatArrayBuffer() 49 &(array.GetMutableBuffer<ArrayDataType::kFloat>()); in CreateFloatArrayBuffer() 61 Buffer<ArrayDataType::kFloat>* buffer = in CopySubArrayToArray() 63 auto& orig_buffer = original_array.GetBuffer<ArrayDataType::kFloat>(); in CopySubArrayToArray() 71 void CopyArrayToSubArray(Buffer<ArrayDataType::kFloat>& tensor_buffer, in CopyArrayToSubArray() 78 auto& sub_buffer = sub_array.GetBuffer<ArrayDataType::kFloat>(); in CopyArrayToSubArray()
|
D | resolve_batch_normalization.cc | 58 CHECK(mean_array.data_type == ArrayDataType::kFloat); in Run() 59 CHECK(multiplier_array.data_type == ArrayDataType::kFloat); in Run() 60 CHECK(offset_array.data_type == ArrayDataType::kFloat); in Run() 100 auto& data = mean_array.GetMutableBuffer<ArrayDataType::kFloat>().data; in Run() 114 mul_param_array.data_type = ArrayDataType::kFloat; in Run() 115 add_param_array.data_type = ArrayDataType::kFloat; in Run() 117 mul_param_array.GetMutableBuffer<ArrayDataType::kFloat>().data; in Run() 119 add_param_array.GetMutableBuffer<ArrayDataType::kFloat>().data; in Run() 123 mean_array.GetBuffer<ArrayDataType::kFloat>().data; in Run() 125 multiplier_array.GetBuffer<ArrayDataType::kFloat>().data; in Run() [all …]
|
D | dequantize.cc | 34 array->data_type = ArrayDataType::kFloat; in DequantizeBuffer() 35 auto& new_data = array->GetMutableBuffer<ArrayDataType::kFloat>().data; in DequantizeBuffer() 95 CHECK(array->data_type == ArrayDataType::kFloat); in DequantizeArray() 96 CHECK(array->buffer->type == ArrayDataType::kFloat); in DequantizeArray() 102 array->data_type = ArrayDataType::kFloat; in DequantizeArray() 157 new_array.data_type = ArrayDataType::kFloat; in DequantizeArray() 197 if (input_array.data_type == ArrayDataType::kFloat) { in Run() 200 if (input_array.final_data_type != ArrayDataType::kFloat) { in Run() 203 input_array.data_type = ArrayDataType::kFloat; in Run() 206 output_array.data_type = ArrayDataType::kFloat; in Run()
|
D | lstm_utils.h | 69 Buffer<ArrayDataType::kFloat>* CreateFloatArrayBuffer(Model* model, 86 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer, 88 Buffer<ArrayDataType::kFloat>* dst_buffer, int dst_stride, 101 void CopyArrayToSubArray(Buffer<ArrayDataType::kFloat>& tensor_buffer,
|
D | resolve_constant_fake_quant.cc | 86 CHECK(input_array.data_type == ArrayDataType::kFloat); in Run() 99 CHECK(input_array.data_type == ArrayDataType::kFloat); in Run() 100 output_array.data_type = ArrayDataType::kFloat; in Run() 110 const auto& input_buffer = input_array.GetBuffer<ArrayDataType::kFloat>(); in Run() 112 auto& output_buffer = output_array.GetMutableBuffer<ArrayDataType::kFloat>(); in Run()
|
D | quantization_util.cc | 68 case ArrayDataType::kFloat: in GetQuantizedDataType() 120 case ArrayDataType::kFloat: in ChooseQuantizationParamsForArrayAndQuantizedDataType() 136 CHECK(buffer.type == ArrayDataType::kFloat); in QuantizeBuffer() 138 static_cast<const Buffer<ArrayDataType::kFloat>&>(buffer); in QuantizeBuffer() 170 CHECK(array.data_type == ArrayDataType::kFloat); in QuantizeArray() 216 quantized_data_type == ArrayDataType::kFloat) { in IsArrayQuantizedRangeSubset()
|
D | resolve_multiply_by_zero.cc | 106 case ArrayDataType::kFloat: { in Run() 108 constant_input_array.GetBuffer<ArrayDataType::kFloat>().data; in Run() 109 if (!AreAllBufferElementsZero<DataType<ArrayDataType::kFloat>>( in Run() 113 FillArrayWithZeros<ArrayDataType::kFloat>(&output_array); in Run()
|
D | resolve_constant_unary.cc | 185 std::vector<DataType<ArrayDataType::kFloat>> const* input_float_data = in Run() 189 if (cast_op->dst_data_type != ArrayDataType::kFloat) { in Run() 203 if (input_array.buffer->type != ArrayDataType::kFloat) { in Run() 206 input_float_data = &(input_array.GetBuffer<ArrayDataType::kFloat>().data); in Run() 214 output_array.GetMutableBuffer<ArrayDataType::kFloat>().data; in Run() 222 if (input_array.buffer->type == ArrayDataType::kFloat) { in Run() 224 input_array.GetBuffer<ArrayDataType::kFloat>().data[i]); in Run()
|
D | fuse_binary_into_preceding_affine.cc | 59 auto& bias_buffer = bias.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseAddOrSubParamsIntoPrecedingAffine() 61 const auto& operand_buffer = operand.GetBuffer<ArrayDataType::kFloat>(); in FuseAddOrSubParamsIntoPrecedingAffine() 129 auto& weights_buffer = weights.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseMulOrDivParamsIntoPrecedingAffine() 131 auto& bias_buffer = bias.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseMulOrDivParamsIntoPrecedingAffine() 133 const auto& operand_buffer = operand.GetBuffer<ArrayDataType::kFloat>(); in FuseMulOrDivParamsIntoPrecedingAffine() 309 if (weights.data_type != ArrayDataType::kFloat || in Run() 310 bias.data_type != ArrayDataType::kFloat) { in Run()
|
D | identify_lstm_merge_inputs.cc | 80 array.data_type = ArrayDataType::kFloat; in Run() 85 auto& buffer = array.GetMutableBuffer<ArrayDataType::kFloat>(); in Run() 123 bias_array.data_type = ArrayDataType::kFloat; in Run() 125 auto& bias_buffer = bias_array.GetMutableBuffer<ArrayDataType::kFloat>(); in Run()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | helpers.cpp | 54 return kFloat; in get_read_kernel_type() 75 return kFloat; in get_write_kernel_type() 77 return kFloat; in get_write_kernel_type() 79 return kFloat; in get_write_kernel_type() 81 return kFloat; in get_write_kernel_type() 85 return kFloat; in get_write_kernel_type() 112 if(type != kFloat) return "convert_float4"; in get_write_conversion() 181 case kFloat: in convert_to_expected() 211 case kFloat: in convert_to_expected() 241 case kFloat: in convert_to_expected() [all …]
|
/external/webrtc/modules/audio_coding/codecs/isac/ |
D | isac_webrtc_api_test.cc | 33 enum class IsacImpl { kFixed, kFloat }; enumerator 39 case IsacImpl::kFloat: in IsacImplToString() 86 case IsacImpl::kFloat: { in CreateEncoder() 104 case IsacImpl::kFloat: { in CreateDecoder() 219 for (IsacImpl impl : {IsacImpl::kFloat, IsacImpl::kFixed}) { in __anona744030b0202() 224 cases.push_back({IsacImpl::kFloat, 32000, 30}); in __anona744030b0202() 258 DecoderTestParams{IsacImpl::kFloat, 16000}, 259 DecoderTestParams{IsacImpl::kFloat, 32000}}), 327 for (IsacImpl enc : {IsacImpl::kFloat, IsacImpl::kFixed}) { in __anona744030b0502() 328 for (IsacImpl dec : {IsacImpl::kFloat, IsacImpl::kFixed}) { in __anona744030b0502() [all …]
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | helpers.cpp | 65 return kFloat; in get_read_kernel_type() 85 return kFloat; in get_write_kernel_type() 87 return kFloat; in get_write_kernel_type() 89 return kFloat; in get_write_kernel_type() 91 return kFloat; in get_write_kernel_type() 93 return kFloat; in get_write_kernel_type() 97 return kFloat; in get_write_kernel_type() 111 return kFloat; in get_write_kernel_type() 114 return kFloat; in get_write_kernel_type() 133 if(type != kFloat) return "convert_float4"; in get_write_conversion() [all …]
|
D | common.h | 51 { GL_RGBA32F_ARB, GL_RGBA, GL_FLOAT, kFloat }, 58 { GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, kFloat }, 60 { GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, kFloat },
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
D | resolve_constant_concatenation_test.cc | 127 in_array.data_type = ArrayDataType::kFloat; in PrepareModel() 136 in_array.GetMutableBuffer<toco::ArrayDataType::kFloat>(); in PrepareModel() 139 in_array.GetMutableBuffer<toco::ArrayDataType::kFloat>().data.data(); in PrepareModel() 148 out_array.data_type = ArrayDataType::kFloat; in PrepareModel() 178 EXPECT_THAT(concatenated_array.GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F() 200 EXPECT_THAT(concatenated_array->GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F() 222 EXPECT_THAT(concatenated_array->GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F()
|
D | lstm_utils_test.cc | 61 Buffer<ArrayDataType::kFloat>* GetSrcBuffer() { return src_buffer_; } in GetSrcBuffer() 62 Buffer<ArrayDataType::kFloat>* GetDstBuffer() { return dst_buffer_; } in GetDstBuffer() 64 void PopulateBuffer(Buffer<ArrayDataType::kFloat>* buffer, in PopulateBuffer() 70 void UpdateBuffer(Buffer<ArrayDataType::kFloat>* buffer, in UpdateBuffer() 77 Buffer<ArrayDataType::kFloat>* src_buffer_; 78 Buffer<ArrayDataType::kFloat>* dst_buffer_;
|
D | fuse_binary_into_preceding_affine_test.cc | 48 array.data_type = ArrayDataType::kFloat; in CreateArray() 58 auto& array_buffer = array.GetMutableBuffer<ArrayDataType::kFloat>(); in CreateConstantArray() 109 EXPECT_THAT(weights_array.GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F() 113 EXPECT_THAT(bias_array.GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F()
|
D | unpack_quantize_test.cc | 57 in_array.data_type = ArrayDataType::kFloat; in PrepareModel() 66 in_array.GetMutableBuffer<toco::ArrayDataType::kFloat>(); in PrepareModel() 82 out_array.data_type = ArrayDataType::kFloat; in PrepareModel() 83 out_array.GetMutableBuffer<ArrayDataType::kFloat>().data.resize( in PrepareModel()
|
D | resolve_constant_unary_test.cc | 41 input0.data_type = ArrayDataType::kFloat; in RunResolveSum() 42 input0.GetMutableBuffer<ArrayDataType::kFloat>().data = input; in RunResolveSum() 57 EXPECT_EQ(model.GetArray("output").GetBuffer<ArrayDataType::kFloat>().data, in RunResolveSum()
|
D | fuse_binary_into_following_affine_test.cc | 48 array.data_type = ArrayDataType::kFloat; in CreateArray() 58 auto& array_buffer = array.GetMutableBuffer<ArrayDataType::kFloat>(); in CreateConstantArray() 105 EXPECT_THAT(weights_array.GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F() 109 EXPECT_THAT(bias_array.GetBuffer<toco::ArrayDataType::kFloat>().data, in TEST_F()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | export_test.cc | 53 input_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 54 filter_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 55 output_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 64 input1_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 65 input2_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 66 output_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 75 input1_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 76 input2_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 77 output_array.data_type = ArrayDataType::kFloat; in AddOperatorsByName() 115 weight_array.data_type = ArrayDataType::kFloat; in BuildQuantizableTestModel() [all …]
|
D | op_version_test.cc | 38 array_map[conv_input]->data_type = ArrayDataType::kFloat; in TEST() 40 array_map[conv_filter]->data_type = ArrayDataType::kFloat; in TEST() 42 array_map[conv_output]->data_type = ArrayDataType::kFloat; in TEST() 52 array_map[softmax_input]->data_type = ArrayDataType::kFloat; in TEST()
|
/external/webrtc/common_audio/ |
D | wav_file_unittest.cc | 110 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST() 112 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST() 114 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST() 132 if (write_format == WavFile::SampleFormat::kFloat) { in TEST() 143 if (wav_format == WavFile::SampleFormat::kFloat) { in TEST() 157 if (read_format == WavFile::SampleFormat::kFloat) { in TEST()
|
/external/tensorflow/tensorflow/lite/toco/logging/ |
D | conversion_log_util_test.cc | 135 array_map[input1]->data_type = ArrayDataType::kFloat; in TEST() 137 array_map[input2]->data_type = ArrayDataType::kFloat; in TEST() 141 array_map[output]->data_type = ArrayDataType::kFloat; in TEST() 171 array_map[conv_input_name]->data_type = ArrayDataType::kFloat; in TEST() 174 array_map[conv_filter_name]->data_type = ArrayDataType::kFloat; in TEST() 177 array_map[conv_output_name]->data_type = ArrayDataType::kFloat; in TEST() 206 array_map[custom_op_output_name]->data_type = ArrayDataType::kFloat; in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | comparison_util.cc | 62 {"FLOAT", Comparison::Type::kFloat}, in StringToComparisonType() 76 case Comparison::Type::kFloat: in ComparisonTypeToString() 111 return Type::kFloat; in DefaultComparisonType() 124 case Type::kFloat: in Inverse()
|