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

Function TF_Reset_Helper

tensorflow/c/c_api.cc:194–203  ·  view source on GitHub ↗

Reset helper for converting character arrays to string vectors.

Source from the content-addressed store, hash-verified

192
193// Reset helper for converting character arrays to string vectors.
194static void TF_Reset_Helper(const TF_SessionOptions* opt,
195 const char** containers, int ncontainers,
196 TF_Status* status) {
197 std::vector<string> container_names(ncontainers);
198 for (int i = 0; i < ncontainers; ++i) {
199 container_names[i] = containers[i];
200 }
201
202 status->status = Reset(opt->options, container_names);
203}
204
205extern "C" {
206

Callers 1

TF_ResetFunction · 0.85

Calls 1

ResetFunction · 0.50

Tested by

no test coverage detected