MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / TrainerInterface

Method TrainerInterface

external/sentencepiece/src/trainer_interface.cc:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201TrainerInterface::TrainerInterface(const TrainerSpec &trainer_spec,
202 const NormalizerSpec &normalizer_spec,
203 const NormalizerSpec &denormalizer_spec)
204 : trainer_spec_(trainer_spec),
205 normalizer_spec_(normalizer_spec),
206 denormalizer_spec_(denormalizer_spec) {
207 status_ = VerifySpec(trainer_spec_);
208 if (status_.ok()) status_ = InitMetaPieces();
209}
210
211TrainerInterface::~TrainerInterface() {}
212

Callers

nothing calls this directly

Calls 2

VerifySpecFunction · 0.85
okMethod · 0.80

Tested by

no test coverage detected