1aac481957dda7b9873a4204b5c96cb4e2c205c6,tests/models/test_tpu.py,,test_model_tpu_early_stop,#Any#,178

Before Change


        max_epochs=2,
        limit_train_batches=2,
        limit_val_batches=2,
        tpu_cores=[1],
    )
    trainer.fit(model)

After Change


        tpu_cores=8,
    )
    trainer.fit(model)
    trainer.test(test_dataloaders=DataLoader(RandomDataset(32, 2000), batch_size=32))


@RunIf(tpu=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: williamFalcon/pytorch-lightning
Commit Name: 1aac481957dda7b9873a4204b5c96cb4e2c205c6
Time: 2021-03-02
Author: thomas@grid.ai
File Name: tests/models/test_tpu.py
Class Name:
Method Name: test_model_tpu_early_stop


Project Name: HyperGAN/HyperGAN
Commit Name: 7dd73c6f95d6137a713105c875dde4a5b71844df
Time: 2020-07-10
Author: mikkel@255bits.com
File Name: examples/classification.py
Class Name: MNISTInputLoader
Method Name: __init__


Project Name: eriklindernoren/Keras-GAN
Commit Name: 1bd27beaa46b62a6c7bf402e2ca3ddd013c3f050
Time: 2018-02-18
Author: eriklindernoren@gmail.com
File Name: cyclegan/cyclegan.py
Class Name: CycleGAN
Method Name: __init__