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

Function TF_GetChildren

tensorflow/c/env.cc:125–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 delete list;
124}
125TF_StringStream* TF_GetChildren(const char* dirname, TF_Status* status) {
126 auto* children = new std::vector<::tensorflow::string>;
127
128 TF_SetStatus(status, TF_OK, "");
129 ::tensorflow::Set_TF_Status_from_Status(
130 status, ::tensorflow::Env::Default()->GetChildren(dirname, children));
131
132 auto* list = new TF_StringStream;
133 list->list = children;
134 list->position = 0;
135 return list;
136}
137
138TF_StringStream* TF_GetLocalTempDirectories() {
139 auto* tmpdirs = new std::vector<::tensorflow::string>;

Callers 1

TESTFunction · 0.85

Calls 4

TF_SetStatusFunction · 0.85
DefaultFunction · 0.85
GetChildrenMethod · 0.45

Tested by 1

TESTFunction · 0.68