| 115 | } |
| 116 | |
| 117 | py::UniqueCObj<VocabObject> PLDAModelObject::getTopicLabelDict() const |
| 118 | { |
| 119 | auto* inst = getInst<tomoto::IPLDAModel>(); |
| 120 | auto ret = py::makeNewObject<VocabObject>(); |
| 121 | ret->dep = py::UniqueObj{ getObject() }; |
| 122 | Py_INCREF(ret->dep); |
| 123 | ret->vocabs = const_cast<tomoto::Dictionary*>(&inst->getTopicLabelDict()); |
| 124 | ret->size = -1; |
| 125 | return ret; |
| 126 | } |
nothing calls this directly
no outgoing calls
no test coverage detected