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

Method GetResult

library/cpp/par/par_util.h:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152 template <class T>
153 void GetResult(T* res) {
154 TVector<TVector<char>> buf;
155 GetRawResult(&buf);
156 Y_ABORT_UNLESS(buf.ysize() == 1, "buf.ysize()=%d", buf.ysize());
157 SerializeFromMem(&buf[0], *res);
158 }
159 template <class T>
160 void GetResultVec(TVector<T>* res) {
161 CHROMIUM_TRACE_FUNCTION();

Callers 2

RunMapReduceFunction · 0.45
RunMapReduceOnRangeFunction · 0.45

Calls 2

SerializeFromMemFunction · 0.85
ysizeMethod · 0.45

Tested by

no test coverage detected