Home
last modified time | relevance | path

Searched refs:quantize_weights (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/tflite/
Dexport.h30 bool quantize_weights = false; member
47 bool quantize_weights, string* output_file_contents) { in Export() argument
50 params.quantize_weights = quantize_weights; in Export()
58 const Model& model, bool allow_custom_ops, bool quantize_weights, in Export() argument
63 params.quantize_weights = quantize_weights; in Export()
DBUILD97 "//tensorflow/lite/tools/optimize:quantize_weights",
Dexport_test.cc222 params.quantize_weights = false; in TEST_F()
252 params_.quantize_weights = false; in SetAllowedOpSets()
Dexport.cc588 if (params.quantize_weights) { in Export()
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc161 Flag("quantize_weights", parsed_flags.quantize_weights.bind(), in ParseTocoFlagsFromCommandLineFlags()
162 parsed_flags.quantize_weights.default_value(), in ParseTocoFlagsFromCommandLineFlags()
268 READ_TOCO_FLAG(quantize_weights, FlagRequirement::kNone); in ReadTocoFlagsFromCommandLineFlags()
313 if (parsed_toco_flags.quantize_weights.value()) { in ReadTocoFlagsFromCommandLineFlags()
318 parsed_toco_flags.quantize_weights.value()); in ReadTocoFlagsFromCommandLineFlags()
320 if (parsed_toco_flags.quantize_weights.value()) { in ReadTocoFlagsFromCommandLineFlags()
Dargs.h176 Arg<bool> quantize_weights = Arg<bool>(false); member
Dtoco_tooling.cc452 params.quantize_weights = toco_flags.post_training_quantize(); in Export()
Dtoco_flags.proto177 optional bool quantize_weights = 20 [default = false]; field
/external/tensorflow/tensorflow/lite/tools/optimize/
DBUILD55 name = "quantize_weights",
56 srcs = ["quantize_weights.cc"],
57 hdrs = ["quantize_weights.h"],
85 ":quantize_weights",
/external/tensorflow/tensorflow/lite/kernels/
Dbidirectional_sequence_lstm_test.cc42 bool quantize_weights, bool time_major, in BidirectionalLSTMOpModel() argument
51 quantize_weights_(quantize_weights) { in BidirectionalLSTMOpModel()
412 const bool quantize_weights = GetParam(); in TEST_P() local
419 /*proj_clip=*/0.0, quantize_weights, /*time_major=*/true, in TEST_P()
556 ArrayFloatNear(fw_expected, quantize_weights ? 1e-2 : 1e-5))); in TEST_P()
565 ArrayFloatNear(bw_expected, quantize_weights ? 1e-2 : 1e-5))); in TEST_P()
577 const bool quantize_weights = GetParam(); in TEST_P() local
584 /*proj_clip=*/0.0, quantize_weights, /*time_major=*/true, in TEST_P()
732 quantize_weights ? 1e-2 : 1e-5))); in TEST_P()
2618 const bool quantize_weights = GetParam(); in TEST_P() local
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
DREADME.md27 * [quantize_weights](#quantize_weights)
251 quantize_weights'
299 quantize_weights
590 Prerequisites: [quantize_weights](#quantize_weights)
597 model. You should run quantize_weights first to ensure your Const ops are in
600 ### quantize_weights subsection
DBUILD105 "quantize_weights.cc",