MCPcopy Create free account
hub / github.com/OpenNMT/CTranslate2 / initialize

Method initialize

include/ctranslate2/models/model.h:171–171  ·  view source on GitHub ↗

Runs some initialization after the model is loaded.

Source from the content-addressed store, hash-verified

169
170 // Runs some initialization after the model is loaded.
171 virtual void initialize(ModelReader&) {}
172
173 virtual std::unique_ptr<Model> clone() const = 0;
174

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected