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

Function ReadModel

tensorflow/lite/tools/optimize/quantize_model_test.cc:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40namespace {
41
42std::unique_ptr<FlatBufferModel> ReadModel(const string& model_name) {
43 auto model_path = tensorflow::io::JoinPath(*g_test_model_dir, model_name);
44 return FlatBufferModel::BuildFromFile(model_path.c_str());
45}
46
47template <typename T>
48std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {

Callers 12

QuantizeModelTestMethod · 0.70
QuantizeConvModelTestMethod · 0.70
QuantizeSoftmaxTestMethod · 0.70
QuantizeAvgPoolTestMethod · 0.70
QuantizeArgMaxTestMethod · 0.70
QuantizeFCTestMethod · 0.70
QuantizeCustomOpTestMethod · 0.70

Calls 2

c_strMethod · 0.80
JoinPathFunction · 0.50

Tested by

no test coverage detected