Home
last modified time | relevance | path

Searched refs:allow_float (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model.h55 const TensorType& output_type, bool allow_float,
64 const TensorType& output_type, bool allow_float,
74 const TensorType& output_type, bool allow_float,
86 bool allow_float, const TensorType& activations_type,
95 bool allow_float, const TensorType& activations_type,
106 const TensorType& output_type, bool allow_float,
Dquantize_model.cc1466 ModelT* model, bool allow_float, in QuantizeWeightsInputOutput() argument
1496 !allow_float) { in QuantizeWeightsInputOutput()
1502 } else if (!property.quantizable && !allow_float) { in QuantizeWeightsInputOutput()
1900 const TensorType& output_type, bool allow_float, in QuantizeModel() argument
1921 model, allow_float, operator_names, real_value_op_set, activations_type, in QuantizeModel()
1943 const TensorType& output_type, bool allow_float, in QuantizeModel() argument
1948 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModel()
1957 bool allow_float, const TensorType& activations_type, in QuantizeModelAllOperators() argument
1959 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModelAllOperators()
1968 bool allow_float, const TensorType& activations_type, in QuantizeModelAllOperators() argument
[all …]
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper_pybind11.cc81 bool allow_float, int activations_py_type, int bias_py_type, in PYBIND11_MODULE()
84 input_py_type, output_py_type, allow_float, in PYBIND11_MODULE()
89 bool allow_float, const char* operator_output_name) { in PYBIND11_MODULE() argument
91 self.QuantizeModel(input_py_type, output_py_type, allow_float, in PYBIND11_MODULE()
Dcalibrator.py146 allow_float, argument
178 np.dtype(output_type.as_numpy_dtype()).num, allow_float,
188 allow_float, argument
214 np.dtype(output_type.as_numpy_dtype()).num, allow_float, op_output_name)
Dcalibration_wrapper.h88 bool allow_float, int activations_py_type,
95 bool allow_float, const char* operator_output_name);
100 bool allow_float, int activations_py_type,
Dcalibration_wrapper.cc560 bool allow_float, in QuantizeModel() argument
563 return QuantizeModel(input_py_type, output_py_type, allow_float, in QuantizeModel()
569 int input_py_type, int output_py_type, bool allow_float, in QuantizeModel() argument
594 TfLiteTypeToSchemaType(output_type), allow_float, in QuantizeModel()
611 bool allow_float, in QuantizeModel() argument
627 TfLiteTypeToSchemaType(output_type), allow_float, {op_name}, in QuantizeModel()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_model_test.cc49 bool allow_float, const std::unordered_set<string>& operator_names, in QuantizeModel() argument
55 bool fully_quantize = !allow_float;
76 const TensorType& output_type, bool allow_float, in QuantizeModel() argument
78 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModel()
99 bool allow_float, const TensorType& activations_type, in QuantizeModelAllOperators() argument
101 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModelAllOperators()
110 bool allow_float, in QuantizeModelAllOperators() argument
113 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModelAllOperators()
/external/python/cpython2/Lib/
Ddecimal.py864 other = _convert_other(other, allow_float=True)
872 other = _convert_other(other, allow_float=True)
880 other = _convert_other(other, allow_float=True)
889 other = _convert_other(other, allow_float=True)
898 other = _convert_other(other, allow_float=True)
907 other = _convert_other(other, allow_float=True)
5855 def _convert_other(other, raiseit=False, allow_float=False): argument
5867 if allow_float and isinstance(other, float):
/external/tensorflow/tensorflow/lite/python/
Dlite.py591 bias_type, allow_float): argument
632 allow_float,
/external/python/cpython3/Lib/
D_pydecimal.py6013 def _convert_other(other, raiseit=False, allow_float=False): argument
6025 if allow_float and isinstance(other, float):