| 19 | } |
| 20 | |
| 21 | Eigen::MatrixXd TestEmbeddingGroup::getEmbedding(size_t index) { |
| 22 | Eigen::MatrixXd feature = Eigen::MatrixXd::Zero(10, 1); |
| 23 | feature(std::clamp<size_t>(index, 0, 10), 0) = 1.0; |
| 24 | return feature; |
| 25 | } |
| 26 | |
| 27 | void declare_config(TestEmbeddingGroup::Config& config) { |
| 28 | using namespace config; |
nothing calls this directly
no outgoing calls
no test coverage detected