MCPcopy Create free account
hub / github.com/bab2min/tomotopy / getstate

Method getstate

src/python/handler/py_utils.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59py::UniqueObj VocabObject::getstate() const
60{
61 static const char* keys[] = { "id2word" };
62 return py::buildPyDict(keys, vocabs->getRaw());
63}
64
65void VocabObject::setstate(PyObject* dict)
66{

Callers

nothing calls this directly

Calls 1

buildPyDictFunction · 0.85

Tested by

no test coverage detected