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

Function TEST

tensorflow/lite/model_test.cc:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69};
70
71TEST(BasicFlatBufferModel, TestNonExistantFiles) {
72 ASSERT_TRUE(!FlatBufferModel::BuildFromFile("/tmp/tflite_model_1234"));
73}
74
75// Make sure a model with nothing in it loads properly.
76TEST(BasicFlatBufferModel, TestEmptyModelsAndNullDestination) {

Callers

nothing calls this directly

Calls 15

InterpreterBuilderClass · 0.85
TrivialResolverClass · 0.85
TfLiteIntArrayCreateFunction · 0.85
TfLiteIntArrayEqualFunction · 0.85
TfLiteIntArrayFreeFunction · 0.85
VerifyModelBufferFunction · 0.85
GetModelFunction · 0.85
subgraphs_sizeMethod · 0.80
num_callsMethod · 0.80
GetMinimumRuntimeMethod · 0.80
tensors_sizeMethod · 0.45
nodes_sizeMethod · 0.45

Tested by

no test coverage detected