* Print a text summary of the Sequential model's layers. * * The summary includes * - Name and type of all layers that comprise the model. * - Output shape(s) of the layers * - Number of weight parameters of each layer * - The total number of trainable and non-trainable parameters
(
lineLength?: number, positions?: number[],
printFn:
// tslint:disable-next-line:no-any
(message?: any, ...optionalParams: any[]) => void = console.log)
| 660 | * @doc {heading: 'Models', subheading: 'Classes'} |
| 661 | */ |
| 662 | override summary( |
| 663 | lineLength?: number, positions?: number[], |
| 664 | printFn: |
| 665 | // tslint:disable-next-line:no-any |
| 666 | (message?: any, ...optionalParams: any[]) => void = console.log) { |
| 667 | if (!this.built) { |
| 668 | this.build(); |
| 669 | } |
| 670 | super.summary(lineLength, positions, printFn); |
| 671 | } |
| 672 | |
| 673 | /** |
| 674 | * Sets the weights of the model. |
no test coverage detected