Home
last modified time | relevance | path

Searched refs:inference_type (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/lite/python/
Dtflite_convert.py124 if flags.inference_type:
125 converter.inference_type = _parse_inference_type(flags.inference_type,
140 if converter.inference_type == lite_constants.QUANTIZED_UINT8:
181 if converter.inference_type == lite_constants.QUANTIZED_UINT8:
184 converter.inference_type = lite_constants.FLOAT
Dconvert.py234 inference_type=lite_constants.FLOAT, argument
324 toco.inference_type = convert_dtype_to_tflite_type(inference_type)
329 toco.inference_input_type = toco.inference_type
Dconvert_test.py78 inference_type=lite_constants.QUANTIZED_UINT8,
92 inference_type=lite_constants.QUANTIZED_UINT8)
105 inference_type=lite_constants.FLOAT)
141 inference_type=lite_constants.QUANTIZED_UINT8,
186 inference_type=lite_constants.QUANTIZED_UINT8)
Dlite.py431 self.inference_type = constants.FLOAT
730 "inference_type": self.inference_type,
747 if self.inference_type == constants.QUANTIZED_UINT8:
Dlite_test.py158 converter.inference_type = lite_constants.QUANTIZED_UINT8
203 converter.inference_type = lite_constants.QUANTIZED_UINT8
461 converter.inference_type = lite_constants.QUANTIZED_UINT8
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc79 Flag("inference_type", parsed_flags.inference_type.bind(), in ParseTocoFlagsFromCommandLineFlags()
80 parsed_flags.inference_type.default_value(), in ParseTocoFlagsFromCommandLineFlags()
252 PARSE_TOCO_FLAG(IODataType, inference_type, FlagRequirement::kNone); in ReadTocoFlagsFromCommandLineFlags()
321 if (toco_flags->inference_type() == IODataType::QUANTIZED_UINT8) { in ReadTocoFlagsFromCommandLineFlags()
Dtoco_tooling.cc163 type = ConvertIODataTypeToArrayDataType(toco_flags.inference_type()); in SetFinalDataTypeOnInputs()
242 const IODataType inference_type = toco_flags.inference_type(); in TransformWithStatus() local
246 (inference_type == QUANTIZED_UINT8 || inference_type == QUANTIZED_INT16); in TransformWithStatus()
Dtoco_flags.proto48 // Similar to inference_type, but allows to control specifically the
51 // If not set, then the value of inference_type is implicitly used, i.e.
54 // Like inference_type, this only affects real-number arrays. By "real-number"
89 optional IODataType inference_type = 4; field
Dargs.h169 Arg<string> inference_type; member
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dcmdline_reference.md77 * When performing float inference (`--inference_type=FLOAT`) on a
82 (`--inference_type=QUANTIZED_UINT8`), no dequantization is performed by
95 * `--inference_type`. Type: string. Default: `FLOAT`. Data type of all
111 array in the output file. By default the `--inference_type` is used as type
Dquantization.md32 converter.inference_type = tf.lite.constants.QUANTIZED_UINT8
Dcmdline_examples.md111 --inference_type=QUANTIZED_UINT8 \
136 --inference_type=QUANTIZED_UINT8 \
Dpython_api.md173 converter.inference_type = tf.lite.constants.QUANTIZED_UINT8
/external/tensorflow/tensorflow/lite/python/testdata/
DBUILD27 "--inference_type=QUANTIZED_UINT8",
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos_test.py52 toco_flags.inference_type = types_pb2.FLOAT
/external/tensorflow/tensorflow/contrib/quantize/
DREADME.md101 --inference_type=QUANTIZED_UINT8 \
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/
Dpython_api.md172 * `inference_type`
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
DREADME.md99 --inference_type=QUANTIZED_UINT8 --mean_values=0 --std_values=2 \
/external/tensorflow/tensorflow/lite/testing/
Dgenerate_examples.py143 inference_type = "FLOAT"
147 inference_type = "QUANTIZED_UINT8"
149 " --inference_type=%s" % inference_type +