/external/tensorflow/tensorflow/lite/kernels/ |
D | dequantize.cc | 26 namespace dequantize { namespace 102 dequantize::Init, dequantize::Free, dequantize::Prepare, in Register_DEQUANTIZE_OPT() 103 dequantize::Eval<dequantize::kGenericOptimized>}; in Register_DEQUANTIZE_OPT() 108 static TfLiteRegistration r = {dequantize::Init, dequantize::Free, in Register_DEQUANTIZE_REF() 109 dequantize::Prepare, in Register_DEQUANTIZE_REF() 110 dequantize::Eval<dequantize::kReference>}; in Register_DEQUANTIZE_REF()
|
D | numeric_verify.cc | 141 template <builtin::dequantize::KernelType kernel_type> 154 auto status = builtin::dequantize::DequantizeImpl<kernel_type>( in Eval() 232 numeric_verify::Eval<builtin::dequantize::kGenericOptimized>}; in Register_NUMERIC_VERIFY_OPT() 239 numeric_verify::Eval<builtin::dequantize::kReference>}; in Register_NUMERIC_VERIFY_REF()
|
D | detection_postprocess.cc | 255 Dequantizer dequantize(quant_zero_point, quant_scale); in DequantizeBoxEncodings() local 261 box_centersize->y = dequantize(boxes[0]); in DequantizeBoxEncodings() 262 box_centersize->x = dequantize(boxes[1]); in DequantizeBoxEncodings() 263 box_centersize->h = dequantize(boxes[2]); in DequantizeBoxEncodings() 264 box_centersize->w = dequantize(boxes[3]); in DequantizeBoxEncodings() 736 Dequantizer dequantize(quant_zero_point, quant_scale); in DequantizeClassPredictions() local 739 GetTensorData<float>(scores)[idx] = dequantize(scores_quant[idx]); in DequantizeClassPredictions()
|
D | dequantize.h | 33 namespace dequantize {
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/ |
D | prepare-quantize-post-training.mlir | 35 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) : (tensor<1x20x!quant.uniform<i16:f32, 2.44140625E-… 36 // Checks if input 19 is correctly passed from a dequantize op. 91 // CHECK-DAG: %[[input_0:.*]] = "tfl.dequantize"({{.*}}) : (tensor<1x5x!quant.uniform<i8:f32, 0.010… 92 // CHECK-DAG: %[[input_1:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x5x!quant.uniform<i8<-127:127>:… 93 // CHECK-DAG: %[[input_2:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x5x!quant.uniform<i8<-127:127>:… 94 // CHECK-DAG: %[[input_3:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x5x!quant.uniform<i8<-127:127>:… 95 // CHECK-DAG: %[[input_4:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x5x!quant.uniform<i8<-127:127>:… 96 // CHECK-DAG: %[[input_5:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x4x!quant.uniform<i8<-127:127>:… 97 // CHECK-DAG: %[[input_6:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x4x!quant.uniform<i8<-127:127>:… 98 // CHECK-DAG: %[[input_7:.*]] = "tfl.dequantize"({{.*}}) : (tensor<2x4x!quant.uniform<i8<-127:127>:… [all …]
|
D | prepare-quantize.mlir | 8 // CHECK-NEXT: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 10 // CHECK-NEXT: %[[dq_0:.*]] = "tfl.dequantize"(%[[q_0]]) 26 …%0 = "tfl.dequantize"(%cst) : (tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>) -> t… 31 // CHECK: %1 = "tfl.dequantize"(%0) 52 // CHECK: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]]) 54 // CHECK: %[[dq2:.*]] = "tfl.dequantize"(%[[q2]]) 62 …%input = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 1.5>>) -> tensor<1x2… 63 …%weight = "tfl.dequantize"(%arg1) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32:3, {1.0,2.0,3.0}… 71 // CHECK-NEXT: %[[bias:.*]] = "tfl.dequantize"(%[[qbias]]) 72 // CHECK-NEXT: %[[in:.*]] = "tfl.dequantize"(%arg0) [all …]
|
D | prepare-quantize-signed.mlir | 7 %2 = "tfl.dequantize"(%1) : (tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x2xf32> 11 // CHECK-NEXT: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 18 …%2 = "tfl.dequantize"(%1) : (tensor<2x2x!quant.uniform<u8:f32:1, {1.0:128, 1.0}>>) -> tensor<2x2xf… 22 // CHECK-NEXT: %[[dq:.*]] = "tfl.dequantize"(%0) 29 …%2 = "tfl.dequantize"(%1) : (tensor<2x2x!quant.uniform<u8<1:255>:f32, 1.0:255>>) -> tensor<2x2xf32> 33 // CHECK-NEXT: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 53 // CHECK: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]]) 55 // CHECK: %[[dq2:.*]] = "tfl.dequantize"(%[[q2]]) 75 // CHECK: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]]) 77 // CHECK: %[[dq2:.*]] = "tfl.dequantize"(%[[q2]]) [all …]
|
D | default_quant_params.mlir | 12 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[add]]) : (tensor<2x2x!quant.uniform<u8:f32, 0.0078431372… 19 %1 = "tfl.dequantize"(%0) : (tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x2xf32> 26 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[add]]) : (tensor<2x2x!quant.uniform<u8:f32, 0.0078431372… 32 %1 = "tfl.dequantize"(%arg0) : (tensor<2x2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2x2xf32> 38 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[add]]) : (tensor<2x2x!quant.uniform<u8:f32, 0.0078431372… 46 %2 = "tfl.dequantize"(%0) : (tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x2xf32> 47 %3 = "tfl.dequantize"(%1) : (tensor<2x1x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x1xf32> 54 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[add]]) : (tensor<2x2x!quant.uniform<u8:f32, 0.0078431372… 60 …%0 = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 1.0>>) -> tensor<1x224x2… 61 …%1 = "tfl.dequantize"(%arg1) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 1.0>>) -> tensor<32x… [all …]
|
D | quantize.mlir | 38 …%2 = "tfl.dequantize"(%1) : (tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>) -> ten… 48 …%0 = "tfl.dequantize"(%cst) : (tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>>) -> t… 61 …%2 = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> t… 64 …%4 = "tfl.dequantize"(%3) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.1>>) -> tensor<32x3x3… 76 // DEBUG: %[[act:.*]] = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 7.8125… 87 …%2 = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> t… 89 …%4 = "tfl.dequantize"(%3) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.021826678373682216:15… 104 …%2 = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> t… 106 …%4 = "tfl.dequantize"(%3) : (tensor<32x12x!quant.uniform<u8<1:255>:f32, 0.021826678373682216:151>>… 119 %0 = "tfl.dequantize"(%arg0) : (tensor<3x!quant.uniform<u8:f32, 1.0>>) -> tensor<3xf32> [all …]
|
D | post-quantize.mlir | 8 %2 = "tfl.dequantize"(%1#0) : (tensor<2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2xf32> 9 %3 = "tfl.dequantize"(%1#1) : (tensor<2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2xf32> 12 %4 = "tfl.dequantize"(%1#2) : (tensor<2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2xf32> 40 …%6 = "tfl.dequantize"(%5) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<1x40… 48 …%3 = "tfl.dequantize"(%2) : (tensor<2x4x!quant.uniform<u8:f32, 0.49803921568627452>>) -> tensor<2x… 74 …%2 = "tfl.dequantize"(%1) : (tensor<128x16x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<128x16…
|
D | prepare-tf.mlir | 143 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 157 // CHECK: %2 = "tfl.dequantize"(%1) 187 // CHECK: %[[DEQUANTIZE:.*]] = "tfl.dequantize"(%[[QUANTIZE]]) 235 %1 = "tfl.dequantize"(%0): (tensor<1x2x!quant.uniform<u8:f32, 1.0>>) -> (tensor<1x2xf32>) 244 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 254 %1 = "tfl.dequantize"(%0): (tensor<1x2x!quant.uniform<u8:f32, 1.0>>) -> (tensor<1x2xf32>) 263 // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]]) 271 %1 = "tfl.dequantize"(%0): (tensor<1x2x!quant.uniform<u8:f32, 1.0>>) -> (tensor<1x2xf32>) 294 // CHECK: %[[DEQUANTIZE:.*]] = "tfl.dequantize"(%[[QUANTIZE]]) 315 // CHECK: %[[DEQUANTIZE:.*]] = "tfl.dequantize"(%[[QUANTIZE]]) [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | dequantize.cc | 30 namespace dequantize { namespace 146 return {/*init=*/dequantize::Init, in Register_DEQUANTIZE() 148 /*prepare=*/dequantize::Prepare, in Register_DEQUANTIZE() 149 /*invoke=*/dequantize::Eval, in Register_DEQUANTIZE()
|
D | detection_postprocess.cc | 245 Dequantizer dequantize(quant_zero_point, quant_scale); in DequantizeBoxEncodings() local 251 box_centersize->y = dequantize(boxes[0]); in DequantizeBoxEncodings() 252 box_centersize->x = dequantize(boxes[1]); in DequantizeBoxEncodings() 253 box_centersize->h = dequantize(boxes[2]); in DequantizeBoxEncodings() 254 box_centersize->w = dequantize(boxes[3]); in DequantizeBoxEncodings() 712 Dequantizer dequantize(quant_zero_point, quant_scale); in DequantizeClassPredictions() local 716 scores[idx] = dequantize(scores_quant[idx]); in DequantizeClassPredictions()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/ |
D | tf_to_quant.cc | 124 auto dequantize = rewriter.create<quant::DequantizeCastOp>( in matchAndRewrite() local 126 value.replaceAllUsesWith(dequantize); in matchAndRewrite() 127 quantize.getOperation()->replaceUsesOfWith(dequantize, value); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/ |
D | quantization.mlir | 9 // CHECK: %{{.*}} = "tfl.dequantize"(%{{.*}}) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e… 18 …%6 = "tfl.dequantize"(%5) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<1x40… 27 %3 = "tfl.dequantize"(%2) : (tensor<2x2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2x2xf32> 33 // CHECK-NEXT: %[[DQ:.*]] = "tfl.dequantize"(%[[CONCAT]]) : (tensor<2x2x!quant.uniform<u8:f32, 1.00…
|
/external/tensorflow/tensorflow/python/ops/ |
D | dequantize_op_test.py | 38 dequantized = array_ops.dequantize(input_op, min_range, max_range, 128 array_ops.dequantize( 133 array_ops.dequantize(
|
D | quantized_ops_test.py | 54 op = array_ops.dequantize(x, x_min, x_max, mode="MIN_FIRST")
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | default_quant_params.cc | 183 auto dequantize = builder.create<TFL::DequantizeOp>( in QuantizeValue() local 185 value.replaceAllUsesWith(dequantize); in QuantizeValue() 189 quantize.getOperation()->replaceUsesOfWith(dequantize, value); in QuantizeValue()
|
D | quantize_patterns.td | 27 // Squash tfl.dequantize and tfl.quantize pairs. 32 // If the tfl.dequantize op wasn't fused, we shouldn't quantize the floating
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/ |
D | depthwise_conv2d.mlir | 43 // CHECK-NEXT: name: "tfl.dequantize", 99 …%2 = "tfl.dequantize"(%1) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.021826678373682216:15…
|
D | depthwise_conv2d_v2.mlir | 43 // CHECK-NEXT: name: "tfl.dequantize", 101 …%2 = "tfl.dequantize"(%1) : (tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 0.021826678373682216:15…
|
D | quantization.mlir | 100 // CHECK-NEXT: name: "tfl.dequantize", 178 …%7 = "tfl.dequantize"(%6) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<1x40…
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | Passes.td | 23 "corresponding quantize/dequantize casts";
|
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/ |
D | lite_support.md | 151 // Post-processor which dequantize the result 227 The `TensorProcessor` can be used to quantize input tensors or dequantize output 229 developer can use `DequantizeOp` to dequantize the result to a floating point 235 // Post-processor which dequantize the result
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.quantization.pbtxt | 4 name: "dequantize"
|