MCPcopy Create free account
hub / github.com/antgroup/vsag / CopyPCAMatrixForTest

Method CopyPCAMatrixForTest

src/impl/transform/pca_transformer.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void
180PCATransformer::CopyPCAMatrixForTest(float* out_pca_matrix) const {
181 for (uint64_t i = 0; i < pca_matrix_.size(); i++) {
182 out_pca_matrix[i] = pca_matrix_[i];
183 }
184}
185
186void
187PCATransformer::CopyMeanForTest(float* out_mean) const {

Callers 3

TestTrainFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

TestTrainFunction · 0.64