(model: LayersModel)
| 266 | } |
| 267 | |
| 268 | setModel(model: LayersModel): void { |
| 269 | // This method is inherited from BaseCallback. To avoid cyclical imports, |
| 270 | // that class uses Container instead of LayersModel, and uses a run-time |
| 271 | // check to make sure the model is a LayersModel. |
| 272 | // Since this subclass isn't imported by tfjs-layers, we can safely use type |
| 273 | // the parameter as a LayersModel. |
| 274 | this.model = model; |
| 275 | } |
| 276 | |
| 277 | private logMetrics(logs: Logs, prefix: string, step: number) { |
| 278 | for (const key in logs) { |
nothing calls this directly
no outgoing calls
no test coverage detected