Searched refs:is_quantized (Results 1 – 16 of 16) 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;
107 return is_quantized<T>::value; in GetQuantized()
72 const bool is_quantized = in CheckTypes() local74 const bool is_hybrid = is_quantized && (input->type == kTfLiteFloat32); in CheckTypes()76 is_quantized && (params->weights_format == in CheckTypes()84 if (is_quantized) { in CheckTypes()260 const bool is_quantized = in Prepare() local262 const bool is_hybrid = is_quantized && (input->type == kTfLiteFloat32); in Prepare()
437 bool is_quantized = (t.min != 0 || t.max != 0 || t.scale != 0); variable441 if (is_quantized) {
171 const bool is_quantized = in IsIm2ColRequired() local189 if (is_hybrid_non_dilated || is_quantized || in IsIm2ColRequired()
39 name: "is_quantized"
103 dtype for dtype in self._all_tf_types if dtype.is_quantized)111 if not dtype.is_quantized)
312 bool is_quantized;315 is_quantized = false;318 is_quantized = true;325 if (is_quantized) {357 if (is_quantized) {
318 elif dtype.is_quantized:422 is_quantized = (456 not is_quantized):480 if is_quantized:
116 if (self.is_quantized or140 if (self.is_quantized or
246 if (dtype.is_quantized or dtype.base_dtype == dtypes.bool or
620 TfLiteStatus AddSingleValueConstantTensor(float value, bool is_quantized) { in AddSingleValueConstantTensor() argument621 if (!is_quantized) { in AddSingleValueConstantTensor()664 bool is_quantized = false; in AddHardSwish() local667 is_quantized = true; in AddHardSwish()680 if (is_quantized) { in AddHardSwish()691 AddSingleValueConstantTensor(value3f, is_quantized)); in AddHardSwish()714 AddSingleValueConstantTensor(value2f, is_quantized)); in AddHardSwish()735 if (is_quantized) { in AddHardSwish()
2772 bool is_quantized = IsQuantizedMatMul(*node); in SimplifyArithmeticOperations() local2775 if (is_quantized && graph_modified_) { in SimplifyArithmeticOperations()