| 36 | } |
| 37 | |
| 38 | py::UniqueObj DocumentObject::getZFromHLDA() const |
| 39 | { |
| 40 | return docVisit<tomoto::DocumentHLDA>(getBoundDoc(), [](auto* doc) |
| 41 | { |
| 42 | return buildPyValueReorder(doc->Zs, doc->wOrder, [doc](tomoto::Tid x) -> int16_t |
| 43 | { |
| 44 | if (x == tomoto::non_topic_id) return -1; |
| 45 | return doc->path[x]; |
| 46 | }); |
| 47 | }); |
| 48 | } |
| 49 | |
| 50 | |
| 51 | std::vector<float> HLDAModelObject::getAlpha() const |
nothing calls this directly
no test coverage detected