* Setter used for force stopping of LayersModel.fit() (i.e., training). * * Example: * * ```js * const input = tf.input({shape: [10]}); * const output = tf.layers.dense({units: 1}).apply(input); * const model = tf.model({inputs: [input], outputs: [output]}); * model.compile({
(stop: boolean)
| 1895 | * ``` |
| 1896 | */ |
| 1897 | set stopTraining(stop: boolean) { |
| 1898 | this.stopTraining_ = stop; |
| 1899 | } |
| 1900 | |
| 1901 | get stopTraining(): boolean { |
| 1902 | return this.stopTraining_; |
nothing calls this directly
no outgoing calls
no test coverage detected