()
| 1435 | } |
| 1436 | |
| 1437 | override getConfig(): serialization.ConfigDict { |
| 1438 | const config = { |
| 1439 | size: this.size, |
| 1440 | dataFormat: this.dataFormat, |
| 1441 | interpolation: this.interpolation |
| 1442 | }; |
| 1443 | const baseConfig = super.getConfig(); |
| 1444 | Object.assign(config, baseConfig); |
| 1445 | return config; |
| 1446 | } |
| 1447 | } |
| 1448 | serialization.registerClass(UpSampling2D); |