Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper_pybind11.cc50 bool allow_float, int activations_py_type, in PYBIND11_MODULE()
53 self.QuantizeModel(input_py_type, output_py_type, allow_float, in PYBIND11_MODULE()
58 bool allow_float, int activations_py_type) { in PYBIND11_MODULE() argument
60 self.QuantizeModel(input_py_type, output_py_type, allow_float, in PYBIND11_MODULE()
65 bool allow_float, const char* operator_output_name) { in PYBIND11_MODULE() argument
67 self.QuantizeModel(input_py_type, output_py_type, allow_float, in PYBIND11_MODULE()
Dcalibrator.py68 allow_float, argument
103 np.dtype(output_type.as_numpy_dtype()).num, allow_float,
110 allow_float, argument
144 np.dtype(output_type.as_numpy_dtype()).num, allow_float, op_output_name)
Dcalibration_wrapper.h67 bool allow_float, int activations_py_type);
73 bool allow_float, const char* operator_output_name);
Dcalibration_wrapper.cc328 bool allow_float, in QuantizeModel() argument
352 TfLiteTypeToSchemaType(output_type), allow_float, in QuantizeModel()
367 bool allow_float, in QuantizeModel() argument
383 TfLiteTypeToSchemaType(output_type), allow_float, {op_name}, in QuantizeModel()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model.h55 const TensorType& output_type, bool allow_float,
64 const TensorType& output_type, bool allow_float,
76 bool allow_float,
85 const TensorType& output_type, bool allow_float,
Dquantize_model.cc1015 ModelT* model, bool allow_float, in QuantizeWeightsInputOutput() argument
1039 !allow_float) { in QuantizeWeightsInputOutput()
1045 } else if (!property.quantizable && !allow_float) { in QuantizeWeightsInputOutput()
1426 const TensorType& output_type, bool allow_float, in QuantizeModel() argument
1442 model, allow_float, operator_names, real_value_op_set, activations_type, in QuantizeModel()
1464 bool allow_float, in QuantizeModelAllOperators() argument
1467 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModelAllOperators()
1474 const TensorType& output_type, bool allow_float, in QuantizeModel() argument
1476 return QuantizeModel(builder, model, input_type, output_type, allow_float, in QuantizeModel()
/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.py474 allow_float): argument
497 inference_output_type, allow_float, activations_type)
/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):