Searched refs:is_quantized (Results 1 – 18 of 18) sorted by relevance
37 struct is_quantized : false_type {}; struct41 struct is_quantized<qint8> : true_type {};43 struct is_quantized<quint8> : true_type {};45 struct is_quantized<qint32> : true_type {};47 struct is_quantized<qint16> : true_type {};49 struct is_quantized<quint16> : true_type {};71 is_quantized<T>::value || std::is_same<T, bfloat16>::value;
106 return is_quantized<T>::value; in GetQuantized()
39 name: "is_quantized"
133 const bool is_quantized = in CheckTypes() local135 const bool is_hybrid = is_quantized && (input->type == kTfLiteFloat32); in CheckTypes()137 is_quantized && (params->weights_format == in CheckTypes()145 if (is_quantized) { in CheckTypes()383 const bool is_quantized = in Prepare() local385 const bool is_hybrid = is_quantized && (input->type == kTfLiteFloat32); in Prepare()
636 bool is_quantized = (t.min != 0 || t.max != 0 || t.scale != 0); variable640 if (is_quantized) {
184 const bool is_quantized = in IsIm2ColRequired() local202 if (is_hybrid_non_dilated || is_quantized || in IsIm2ColRequired()
312 bool is_quantized;315 is_quantized = false;318 is_quantized = true;325 if (is_quantized) {357 if (is_quantized) {
115 dtype for dtype in self._all_tf_types if dtype.is_quantized)123 if not dtype.is_quantized)
324 elif dtype.is_quantized:428 is_quantized = (462 not is_quantized):486 if is_quantized:
116 if (self.is_quantized or140 if (self.is_quantized or
254 if (dtype.is_quantized or dtype.base_dtype == dtypes.bool or
827 TfLiteStatus AddSingleValueConstantTensor(float value, bool is_quantized) { in AddSingleValueConstantTensor() argument828 if (!is_quantized) { in AddSingleValueConstantTensor()873 bool is_quantized = false; in TransformHardSwishIntoSupportedOps() local876 is_quantized = true; in TransformHardSwishIntoSupportedOps()889 if (is_quantized) { in TransformHardSwishIntoSupportedOps()900 AddSingleValueConstantTensor(value3f, is_quantized)); in TransformHardSwishIntoSupportedOps()924 AddSingleValueConstantTensor(value2f, is_quantized)); in TransformHardSwishIntoSupportedOps()946 if (is_quantized) { in TransformHardSwishIntoSupportedOps()
2312 Type reduce_element_type, bool is_quantized, double input_scale, in convertReduceOpCommon() argument2332 if (is_quantized) { in convertReduceOpCommon()2351 if (is_quantized) { in convertReduceOpCommon()
2950 elif dtype.is_quantized:3203 elif dtype.is_quantized:
3011 bool is_quantized = IsQuantizedMatMul(*node); in SimplifyArithmeticOperations() local3014 if (is_quantized && graph_modified_) { in SimplifyArithmeticOperations()