MCPcopy
hub / github.com/tensorflow/tfjs / fitDataset

Method fitDataset

tfjs-layers/src/engine/training.ts:1791–1794  ·  view source on GitHub ↗

* Trains the model using a dataset object. * * @param dataset A dataset object. Its `iterator()` method is expected * to generate a dataset iterator object, the `next()` method of which * is expected to produce data batches for training. The return value * of the `next()` call o

(dataset: Dataset<T>, args: ModelFitDatasetArgs<T>)

Source from the content-addressed store, hash-verified

1789 * @doc {heading: 'Models', subheading: 'Classes'}
1790 */
1791 async fitDataset<T>(dataset: Dataset<T>, args: ModelFitDatasetArgs<T>):
1792 Promise<History> {
1793 return fitDataset(this, dataset, args);
1794 }
1795
1796 /**
1797 * Runs a single gradient update on a single batch of data.

Callers 2

Calls 1

fitDatasetFunction · 0.90

Tested by

no test coverage detected