| 190 | } |
| 191 | |
| 192 | std::string SLDAModelObject::getTypeOfVar(size_t varId) const |
| 193 | { |
| 194 | auto* inst = getInst<tomoto::ISLDAModel>(); |
| 195 | if (varId >= inst->getF()) throw py::ValueError{ "`var_id` must be < `f`" }; |
| 196 | return std::string{ "l\0b" + (size_t)inst->getTypeOfVar(varId) * 2 }; |
| 197 | } |
| 198 | |
| 199 | py::UniqueObj SLDAModelObject::estimateVars(PyObject* docObj) const |
| 200 | { |
nothing calls this directly
no outgoing calls
no test coverage detected