MCPcopy Create free account
hub / github.com/davisking/dlib / dimensions

Method dimensions

examples/text_classification_ex.cpp:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 unsigned long dimensions() const
134 {
135 return words.vocabulary_size() + chars.vocabulary_size();
136 }
137
138 // This saves the learned state, i.e. the vocabularies and idf weights. The tokenizer,
139 // the n-gram ranges and num_buckets are part of the code, so a saved object only makes

Callers 2

get_shapeMethod · 0.80
text_featuresClass · 0.80

Calls 1

vocabulary_sizeMethod · 0.80

Tested by

no test coverage detected