(readonly recordedParams: Params[])
| 1401 | |
| 1402 | class CustomCallbackForTest extends tfl.CustomCallback { |
| 1403 | constructor(readonly recordedParams: Params[]) { |
| 1404 | super({ |
| 1405 | onTrainBegin: async () => { |
| 1406 | recordedParams.push(this.params); |
| 1407 | } |
| 1408 | }); |
| 1409 | } |
| 1410 | } |
| 1411 | |
| 1412 | it('Custom callback params: no validation', async () => { |