Home
last modified time | relevance | path

Searched refs:is_quantized (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtype_traits.h37 struct is_quantized : false_type {}; struct
41 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;
Dtypes_test.cc107 return is_quantized<T>::value; in GetQuantized()
/external/tensorflow/tensorflow/python/framework/
Ddtypes.py144 return (self.is_numpy_compatible and not self.is_quantized and
160 def is_quantized(self): member in DType
187 if (self.is_quantized or
211 if (self.is_quantized or
Dtensor_util.py362 elif dtype.is_quantized:
432 is_quantized = (
472 not is_quantized):
496 if is_quantized:
Ddtypes_test.py236 if (dtype.is_quantized or dtype.base_dtype == dtypes.bool or
/external/tensorflow/tensorflow/compiler/tests/
Dxla_test.py101 dtype for dtype in self._all_tf_types if dtype.is_quantized)
109 if not dtype.is_quantized)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.dtypes.-d-type.pbtxt38 name: "is_quantized"
Dtensorflow.-d-type.pbtxt38 name: "is_quantized"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.dtypes.-d-type.pbtxt38 name: "is_quantized"
Dtensorflow.-d-type.pbtxt38 name: "is_quantized"
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm311 bool is_quantized;
314 is_quantized = false;
317 is_quantized = true;
324 if (is_quantized) {
356 if (is_quantized) {
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h387 bool is_quantized = (t.min != 0 || t.max != 0 || t.scale != 0); variable
391 if (is_quantized) {