MCPcopy Create free account
hub / github.com/alibaba/graph-learn / IntCols

Method IntCols

graphlearn/src/service/request/conditional_sampling_request.cc:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234const std::vector<int32_t> ConditionalSamplingRequest::IntCols() const {
235 if (int_cols_) {
236 return std::vector<int32_t>(int_cols_->GetInt32(),
237 int_cols_->GetInt32() + int_cols_->Size());
238 } else {
239 return std::vector<int32_t>();
240 }
241}
242
243const std::vector<float> ConditionalSamplingRequest::IntProps() const {
244 if (int_props_) {

Callers 1

SampleMethod · 0.80

Calls 2

GetInt32Method · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected