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

Function TF_GetLocalTempDirectories

tensorflow/c/env.cc:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138TF_StringStream* TF_GetLocalTempDirectories() {
139 auto* tmpdirs = new std::vector<::tensorflow::string>;
140
141 ::tensorflow::Env::Default()->GetLocalTempDirectories(tmpdirs);
142
143 auto* list = new TF_StringStream;
144 list->list = tmpdirs;
145 list->position = 0;
146 return list;
147}
148
149TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) {
150 return ::tensorflow::Env::Default()->NowNanos();

Callers 2

mainFunction · 0.85
TESTFunction · 0.85

Calls 2

DefaultFunction · 0.85

Tested by 2

mainFunction · 0.68
TESTFunction · 0.68