MCPcopy Create free account
hub / github.com/alibaba/proxima / set_features

Method set_features

sdk/cpp/src/grpc_client.h:367–370  ·  view source on GitHub ↗

Set features with vector array format by single

Source from the content-addressed store, hash-verified

365
366 //! Set features with vector array format by single
367 void set_features(const void *val, size_t val_len) override {
368 knn_param_->set_batch_count(1);
369 knn_param_->set_features((const char *)val, val_len);
370 }
371
372 //! Set features with vector array format by single
373 void set_features(const std::vector<float> &val) override {

Callers 7

DoSearchProximaFunction · 0.80
DoRecallProximaFunction · 0.80
init_requestMethod · 0.80
init_requestMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
mainFunction · 0.80

Calls 4

dataMethod · 0.45
sizeMethod · 0.45
set_data_typeMethod · 0.45
set_dimensionMethod · 0.45

Tested by 4

init_requestMethod · 0.64
init_requestMethod · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64