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

Function dirname

tensorflow/lite/testing/nnapi_example.cc:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include "tensorflow/lite/testing/tflite_driver.h"
32
33std::string dirname(const std::string& s) {
34 return s.substr(0, s.find_last_of("/"));
35}
36
37bool Interpret(const char* examples_filename, bool use_nnapi) {
38 std::ifstream tflite_stream(examples_filename);

Callers 2

InterpretFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected