/external/tensorflow/tensorflow/contrib/quantize/python/ |
D | quant_ops.py | 70 narrow_range=False, argument 130 narrow_range=narrow_range) 157 if narrow_range: 182 narrow_range=narrow_range) 195 narrow_range=False, argument 256 narrow_range=narrow_range) 282 if narrow_range: 309 narrow_range=narrow_range) 313 narrow_range): argument 336 inputs, min_var, max_var, num_bits=num_bits, narrow_range=narrow_range) [all …]
|
D | quant_ops_test.py | 48 narrow_range=False) 56 narrow_range=True) 83 narrow_range=True)
|
D | quantize.py | 104 narrow_range=True, 657 narrow_range=False, argument 740 narrow_range=narrow_range, 752 narrow_range=narrow_range,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fake_quant_ops.cc | 71 bool narrow_range; in FakeQuantWithMinMaxArgsOp() local 72 OP_REQUIRES_OK(context, context->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxArgsOp() 73 quant_min_ = narrow_range ? 1 : 0; in FakeQuantWithMinMaxArgsOp() 111 bool narrow_range; in FakeQuantWithMinMaxArgsGradientOp() local 112 OP_REQUIRES_OK(context, context->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxArgsGradientOp() 113 quant_min_ = narrow_range ? 1 : 0; in FakeQuantWithMinMaxArgsGradientOp() 183 bool narrow_range; in FakeQuantWithMinMaxVarsOp() local 184 OP_REQUIRES_OK(context, context->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxVarsOp() 185 quant_min_ = narrow_range ? 1 : 0; in FakeQuantWithMinMaxVarsOp() 222 bool narrow_range; in FakeQuantWithMinMaxVarsGradientOp() local [all …]
|
D | fake_quant_ops_test.cc | 53 const bool narrow_range, const float min, in RunTestFakeQuantWithMinMaxArgs() argument 62 .Attr("narrow_range", narrow_range) in RunTestFakeQuantWithMinMaxArgs() 78 const bool narrow_range, const float min, in RunTestFakeQuantWithMinMaxVars() argument 87 .Attr("narrow_range", narrow_range) in RunTestFakeQuantWithMinMaxVars() 107 const int num_bits, const bool narrow_range, in RunTestFakeQuantWithMinMaxVarsPerChannel() argument 117 .Attr("narrow_range", narrow_range) in RunTestFakeQuantWithMinMaxVarsPerChannel()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.quantization.pbtxt | 9 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 13 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam… 17 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 21 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam… 25 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 29 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.quantization.pbtxt | 9 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 13 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam… 17 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 21 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam… 25 …argspec: "args=[\'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'name\'], varargs=N… 29 …argspec: "args=[\'gradients\', \'inputs\', \'min\', \'max\', \'num_bits\', \'narrow_range\', \'nam…
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | fake_quant_ops_test.py | 82 def _TestOp(self, input_min, input_max, num_bits, narrow_range, argument 119 narrow_range=narrow_range) 180 def _TestOp(self, input_min, input_max, num_bits, narrow_range, argument 213 narrow_range=narrow_range) 281 def _TestOp(self, input_min, input_max, num_bits, narrow_range, argument 320 narrow_range=narrow_range) 386 def _TestOp(self, input_min, input_max, num_bits, narrow_range, argument 423 narrow_range=narrow_range)
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | fake_quantize_ops.cc | 95 bool narrow_range; in FakeQuantWithMinMaxArgsOp() local 96 OP_REQUIRES_OK(ctx, ctx->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxArgsOp() 97 quant_min_ = narrow_range ? 1 : 0; in FakeQuantWithMinMaxArgsOp() 143 bool narrow_range; in FakeQuantWithMinMaxArgsGradOp() local 144 OP_REQUIRES_OK(ctx, ctx->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxArgsGradOp() 145 const float quant_min = narrow_range ? 1 : 0; in FakeQuantWithMinMaxArgsGradOp() 193 bool narrow_range; in FakeQuantWithMinMaxVarsOp() local 194 OP_REQUIRES_OK(ctx, ctx->GetAttr("narrow_range", &narrow_range)); in FakeQuantWithMinMaxVarsOp() 195 quant_min_ = narrow_range ? 1 : 0; in FakeQuantWithMinMaxVarsOp() 232 bool narrow_range; in FakeQuantWithMinMaxVarsGradOp() local [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | read_array_minmax_and_narrow_range_from_fake_quant.cc | 43 if (fq_op.narrow_range && !annotated_array.narrow_range) { in ApplyAttrsToArray() 44 annotated_array.narrow_range = true; in ApplyAttrsToArray()
|
D | resolve_reorder_axes.cc | 76 if (input_array.narrow_range) { in ReorderAxes() 77 output_array->narrow_range = true; in ReorderAxes()
|
D | remove_trivial_passthrough.cc | 52 to_array.narrow_range = from_array.narrow_range; in Reroute()
|
D | resolve_constant_fake_quant.cc | 121 if (fakequant_op->narrow_range) { in Run() 123 output_array.narrow_range = true; in Run()
|
D | dequantize.cc | 162 fakequant_op->narrow_range = array->narrow_range; in DequantizeArray()
|
D | quantization_util.cc | 81 array.minmax->min, array.minmax->max, array.narrow_range); in ChooseQuantizationParamsForArrayAndQuantizedDataType() 157 array.narrow_range) { in QuantizeBuffer()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.h | 32 bool narrow_range) { in ChooseQuantizationParams() argument 33 const T qmin = std::numeric_limits<T>::min() + (narrow_range ? 1 : 0); in ChooseQuantizationParams()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_FakeQuantWithMinMaxArgs.pbtxt | 7 when `narrow_range` is false and `[1; 2^num_bits - 1]` when it is true) and
|
D | api_def_FakeQuantWithMinMaxVars.pbtxt | 9 when `narrow_range` is false and `[1; 2^num_bits - 1]` when it is true) and
|
D | api_def_FakeQuantWithMinMaxVarsPerChannel.pbtxt | 10 when `narrow_range` is false and `[1; 2^num_bits - 1]` when it is true) and
|
D | api_def_FakeQuantWithMinMaxVarsGradient.pbtxt | 44 name: "narrow_range"
|
D | api_def_FakeQuantWithMinMaxVarsPerChannelGradient.pbtxt | 47 name: "narrow_range"
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | fake_quant.cc | 50 if (params->narrow_range) { in Prepare()
|
/external/tensorflow/tensorflow/lite/c/ |
D | builtin_op_data.h | 346 bool narrow_range; member
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions.cc | 619 params->narrow_range = schema_params->narrow_range(); in ParseOpData()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | model.h | 948 bool narrow_range = false; 2255 bool narrow_range = false;
|