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

Method UnpackLeaf

library/cpp/packers/packers.h:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224 public:
225 void UnpackLeaf(const char* c, TFloat& t) const {
226 TUInt u = 0;
227 TPacker().UnpackLeaf(c, u);
228 t = FromUInt(u);
229 }
230
231 void PackLeaf(char* c, const TFloat& t, size_t sz) const {
232 TPacker().PackLeaf(c, ToUInt(t), sz);

Callers

nothing calls this directly

Calls 2

TPackerClass · 0.85
UnpackLeafMethod · 0.45

Tested by

no test coverage detected