MCPcopy Create free account
hub / github.com/google/sentencepiece / SampleEncode

Method SampleEncode

src/model_interface.h:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 virtual EncodeResult SampleEncode(absl::string_view normalized,
84 float alpha) const {
85 LOG(ERROR) << "Not implemented.";
86 return EncodeResult();
87 }
88
89 // Returns the vocab id of `piece`.
90 // Returns UNK(0) if `piece` is unknown

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected