MCPcopy
hub / github.com/tensorflow/tfjs-examples / charSetSize

Method charSetSize

lstm-text-generation/data.js:118–120  ·  view source on GitHub ↗

* Get the size of the character set. * * @returns {number} Size of the character set, i.e., how many unique * characters there are in the training text data.

()

Source from the content-addressed store, hash-verified

116 * characters there are in the training text data.
117 */
118 charSetSize() {
119 return this.charSetSize_;
120 }
121
122 /**
123 * Generate the next epoch of data for training models.

Callers 4

mainFunction · 0.95
data_test.jsFile · 0.80
constructorMethod · 0.80
model_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected