MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Export

Function Export

tensorflow/lite/toco/tflite/export.h:49–57  ·  view source on GitHub ↗

This is for backward-compatibility. TODO(ycling): Remove the deprecated entry functions.

Source from the content-addressed store, hash-verified

47// This is for backward-compatibility.
48// TODO(ycling): Remove the deprecated entry functions.
49inline void Export(const Model& model, bool allow_custom_ops,
50 bool quantize_weights, string* output_file_contents) {
51 ExportParams params;
52 params.allow_custom_ops = allow_custom_ops;
53 params.quantize_weights =
54 quantize_weights ? QuantizedBufferType::INT8 : QuantizedBufferType::NONE;
55 auto status = Export(model, output_file_contents, params);
56 if (!status.ok()) LOG(QFATAL) << status.error_message();
57}
58
59// This is for backward-compatibility.
60// TODO(ycling): Remove the deprecated entry functions.

Callers 5

ExportAndReturnStatusMethod · 0.70
TEST_FFunction · 0.70
TocoConvertFunction · 0.50

Calls 1

okMethod · 0.45

Tested by 4

ExportAndReturnStatusMethod · 0.56
TEST_FFunction · 0.56