# Codeblock 10 up_sample_test = UpSample(in_channels=128, out_channels=64).to(DEVICE) x_test = torch.randn((BATCH_SIZE, 128, 14, 14)).to(DEVICE) t_test = torch.randint(0, NUM_TIMESTEPS, (BATCH_SIZE,)).to(DEVICE) connection_test = torch.randn((BATCH_SIZE, 64, 28, 28)).to(DEVICE) out_test = up_sample_test(x_test, t_test, connection_test)