MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / constructor

Method constructor

quantization/data_mnist.js:160–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158export class MnistDataset {
159 // MNIST data constants:
160 constructor() {
161 this.dataset = null;
162 this.trainSize = 0;
163 this.testSize = 0;
164 this.trainBatchIndex = 0;
165 this.testBatchIndex = 0;
166 }
167
168 getBaseUrlAndFilePaths() {
169 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected