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

Function OutputModelOnnx

catboost/libs/model/model_export/model_exporter.cpp:124–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void OutputModelOnnx(
125 const TFullModel& model,
126 const TString& modelFile,
127 const TString& userParametersJson) {
128
129 /* TODO(akhropov): the problem with OneHotFeatures is that raw 'float' values
130 * could be interpreted as nans so that equality comparison won't work for such splits
131 */
132 TOFStream out(modelFile);
133 SerializeFullModelToOnnxStream(model, userParametersJson, &out);
134 }
135
136 void ExportModel(
137 const TFullModel& model,

Callers 1

ExportModelFunction · 0.85

Calls 1

Tested by

no test coverage detected