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

Function TF_SetConfig

tensorflow/c/c_api.cc:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void TF_SetConfig(TF_SessionOptions* options, const void* proto,
124 size_t proto_len, TF_Status* status) {
125 if (!options->options.config.ParseFromArray(proto, proto_len)) {
126 status->status = InvalidArgument("Unparseable ConfigProto");
127 }
128}
129// --------------------------------------------------------------------------
130TF_Buffer* TF_NewBuffer() { return new TF_Buffer{nullptr, 0, nullptr}; }
131

Calls 1

InvalidArgumentFunction · 0.85

Tested by

no test coverage detected