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

Function ReadTestModel

tensorflow/lite/tools/optimize/quantize_weights_test.cc:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace {
38
39std::unique_ptr<FlatBufferModel> ReadTestModel() {
40 auto model_path = tensorflow::io::JoinPath(
41 *g_test_model_dir, internal::kConvModelWith0Plus10Weights);
42 return FlatBufferModel::BuildFromFile(model_path.c_str());
43}
44
45std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() {
46 auto model_path = tensorflow::io::JoinPath(*g_test_model_dir,

Callers 1

LoadBasicModelMethod · 0.85

Calls 2

c_strMethod · 0.80
JoinPathFunction · 0.50

Tested by

no test coverage detected