MCPcopy Create free account
hub / github.com/davisking/dlib / pair__repr__

Function pair__repr__

tools/python/src/basic.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108string pair__repr__ (const std::pair<unsigned long,double>& p)
109{
110 std::ostringstream sout;
111 sout << "dlib.pair(" << p.first << ", " << p.second << ")";
112 return sout.str();
113}
114
115string sparse_vector__str__ (const std::vector<std::pair<unsigned long,double> >& v)
116{

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected