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

Method eos_node

external/sentencepiece/src/unigram_model.cc:97–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95Lattice::Node *Lattice::bos_node() const { return end_nodes_[0][0]; }
96
97Lattice::Node *Lattice::eos_node() const { return begin_nodes_[size()][0]; }
98
99Lattice::Node *Lattice::NewNode() {
100 Node *node = node_allocator_.Allocate();

Callers 2

TESTFunction · 0.80
SampleEncodeAndScoreMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64