MCPcopy Create free account
hub / github.com/catboost/catboost / GetQueryId

Method GetQueryId

catboost/cuda/gpu_data/samples_grouping.h:119–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 ui32 GetQueryId(size_t line) const override {
120 return line < QueryIds.size() ? QueryIds[line] : QuerySizes.size();
121 }
122
123 ui32 NextQueryOffsetForLine(ui32 line) const override {
124 ui32 gid = GetQueryId(line);

Callers 4

CreateGpuGroupingMethod · 0.45
SliceGroupingMethod · 0.45
MakeStripeGroupingMethod · 0.45
GetQueryCountMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected