HomeSort by relevance Sort by last modified time
    Searched refs:TFLITE (Results 1 - 6 of 6) sorted by null

  /external/tensorflow/tensorflow/lite/python/
lite_constants.py 15 """Constants for TFLite."""
33 TFLITE = _toco_flags_pb2.TFLITE
42 _tf_export("lite.constants.TFLITE").export_constant(__name__, "TFLITE")
61 "TFLITE",
convert.py 15 """Converts a frozen graph into a TFLite FlatBuffer."""
59 # Map of tf.dtypes to TFLite types_flag_pb2.
83 """Converts tf.dtype to TFLite proto type.
102 """Enum class defining the sets of ops available to generate TFLite models.
142 Converted model in serialized form (e.g. a TFLITE model is common).
238 output_format=lite_constants.TFLITE,
252 Typically this is to convert from TensorFlow GraphDef to TFLite, in which
268 output_format: Output file format. Currently must be `{TFLITE,
269 GRAPHVIZ_DOT}`. (default TFLITE)
279 dependencies silently. This is due to TFLite not supporting contro
    [all...]
lite.py 102 """Enum defining the optimizations to apply when generating tflite graphs.
200 open("converted_model.tflite", "wb").write(tflite_model)
318 TFLite FlatBuffer or graph visualization.
327 output_format: Output file format. Currently must be `{TFLITE,
328 GRAPHVIZ_DOT}`. (default TFLITE)
339 dependencies silently. This is due to TFLite not supporting control
385 open("converted_model.tflite", "wb").write(tflite_model)
391 open("converted_model.tflite", "wb").write(tflite_model)
433 self.output_format = constants.TFLITE
527 # Handles models with custom TFLite ops that cannot be resolved i
    [all...]
  /external/tensorflow/tensorflow/lite/toco/
toco_tooling.cc 29 #include "tensorflow/lite/toco/tflite/export.h"
30 #include "tensorflow/lite/toco/tflite/import.h"
125 return (format == GRAPHVIZ_DOT || format == TFLITE);
129 return (format == GRAPHVIZ_DOT || format == TFLITE);
134 format == TFLITE);
138 return (format == TFLITE);
141 bool SupportsShuffledFCWeights(FileFormat format) { return format == TFLITE; }
186 // already mixed 8-bit / 16-bit quantized model in TFLITE format and
224 case TFLITE:
225 model = toco::tflite::Import(model_flags, input_file_contents)
    [all...]
toco_convert_test.cc 135 toco_flags.set_output_format(TFLITE);
178 ::tflite::LogToStderr();
  /external/tensorflow/tensorflow/lite/toco/python/
toco_from_protos_test.py 38 """Use toco binary to check conversion from graphdef to tflite.
50 toco_flags.output_format = toco_flags_pb2.TFLITE

Completed in 220 milliseconds