MCPcopy Create free account
hub / github.com/alibaba/MNN / BuildMtokPath

Function BuildMtokPath

transformers/diffusion/engine/src/tokenizer.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace DIFFUSION {
13
14static std::string BuildMtokPath(const std::string& filePath) {
15 return filePath + "/tokenizer.mtok";
16}
17
18MtokTokenizer::MtokTokenizer(Style style, int bosId, int eosId) : mStyle(style), mBosId(bosId), mEosId(eosId) {}
19

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected