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

Function InitTensorFlow

tensorflow/lite/testing/init_tensorflow.cc:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22namespace tflite {
23void InitTensorFlow() {
24 static const char* kFakeName = "fake program name";
25 int argc = 1;
26 char* fake_name_copy = strdup(kFakeName);
27 char** argv = &fake_name_copy;
28 ::tensorflow::port::InitMain(kFakeName, &argc, &argv);
29 free(fake_name_copy);
30}
31} // namespace tflite

Callers 3

MainFunction · 0.85
mainFunction · 0.85

Calls 1

InitMainFunction · 0.50

Tested by 1

mainFunction · 0.68