MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / dns_dns_mul

Method dns_dns_mul

src/thundersvm/kernelmatrix.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void
154KernelMatrix::dns_dns_mul(const SyncArray<kernel_type> &dense_mat, int n_rows,
155 const SyncArray<kernel_type> &origin_dense, SyncArray<kernel_type> &result) const {
156 CHECK_EQ(dense_mat.size(), n_rows * n_features_) << "dense matrix features doesn't match";
157 svm_kernel::dns_dns_mul(n_instances_, n_rows, n_features_, dense_mat, origin_dense, result);
158}
159#endif
160void KernelMatrix::get_dot_product_dns_csr(const SyncArray<int> &idx, SyncArray<kernel_type> &dot_product) const {
161 SyncArray<kernel_type> data_rows(idx.size() * n_features_);

Callers

nothing calls this directly

Calls 2

dns_dns_mulFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected