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

Function QueryConsistentShuffle

catboost/cuda/data/data_utils.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 // TODO(kirillovs): this function is used only for cuda unittests, maybe remove later
67 template <class TIndicesType>
68 inline void QueryConsistentShuffle(ui64 seed, ui32 blockSize, TConstArrayRef<TGroupId> queryIds, TVector<TIndicesType>* orderPtr) {
69 GenerateQueryDocsOrder(seed, blockSize, GroupSamples<TGroupId>(queryIds), orderPtr);
70 }
71}

Callers 1

TestSimpleCtrFunction · 0.85

Calls 1

GenerateQueryDocsOrderFunction · 0.85

Tested by 1

TestSimpleCtrFunction · 0.68