| 232 | } |
| 233 | |
| 234 | void initGlobalState(bool initDocs) |
| 235 | { |
| 236 | BaseClass::initGlobalState(initDocs); |
| 237 | if (initDocs) |
| 238 | { |
| 239 | topicPrior = math::MultiNormalDistribution<Float>{ this->K }; |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | public: |
| 244 | DEFINE_SERIALIZER_AFTER_BASE_WITH_VERSION(BaseClass, 0, numBetaSample, numTMNSample, topicPrior); |
nothing calls this directly
no outgoing calls
no test coverage detected