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

Method ToString

tensorflow/c/c_api_function_test.cc:237–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 // logging utility
236 template <class Container>
237 string ToString(const Container& v) {
238 std::stringstream ss;
239 ss << "{";
240 size_t i = 0;
241 for (const auto& e : v) {
242 if (i != 0) {
243 ss << ", ";
244 }
245 ss << e.ToString();
246 ++i;
247 }
248 ss << "}";
249 return ss.str();
250 }
251
252 void VerifyFDefNodes(const tensorflow::FunctionDef& fdef,
253 const std::unordered_set<string>& nodes) {

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected