MCPcopy Create free account
hub / github.com/alibaba/zvec / SparseData

Method SparseData

tools/core/txt_input_reader.h:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28struct SparseData {
29 public:
30 SparseData(uint32_t count_in, std::vector<uint32_t> &indices_in,
31 std::vector<T> &features_in)
32 : count(count_in),
33 indices(std::move(indices_in)),
34 features(std::move(features_in)) {}
35
36 SparseData(uint32_t count_in, std::vector<uint32_t> &&indices_in,
37 std::vector<T> &&features_in)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected