Searched refs:is_quantized (Results 1 – 12 of 12) 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()
144 return (self.is_numpy_compatible and not self.is_quantized and160 def is_quantized(self): member in DType187 if (self.is_quantized or211 if (self.is_quantized or
362 elif dtype.is_quantized:432 is_quantized = (472 not is_quantized):496 if is_quantized:
236 if (dtype.is_quantized or dtype.base_dtype == dtypes.bool or
101 dtype for dtype in self._all_tf_types if dtype.is_quantized)109 if not dtype.is_quantized)
38 name: "is_quantized"
311 bool is_quantized;314 is_quantized = false;317 is_quantized = true;324 if (is_quantized) {356 if (is_quantized) {
387 bool is_quantized = (t.min != 0 || t.max != 0 || t.scale != 0); variable391 if (is_quantized) {