(array)
| 134 | return crop_concat[:, :, :shape[2], :shape[3]] |
| 135 | |
| 136 | def min_max(array): |
| 137 | return (array - array.min()) / (array.max() - array.min()) |
| 138 | with torch.no_grad(): |
| 139 | self.network.init_predictor.load_state_dict(torch.load(self.TEST_INITIAL_PREDICTOR_WEIGHT_PATH)) |
| 140 | self.network.denoiser.load_state_dict(torch.load(self.TEST_DENOISER_WEIGHT_PATH)) |
nothing calls this directly
no outgoing calls
no test coverage detected