fixed typo

This commit is contained in:
Kashif Rasul
2021-02-18 12:11:48 +01:00
committed by GitHub
parent 41b3d7f883
commit 9238fff0f5
@@ -251,7 +251,7 @@ class TransformerEstimator(PyTorchEstimator):
copy_parameters(trained_network, prediction_network)
input_names = get_module_forward_input_names(prediction_network)
prediction_splitter = self._create_instance_splitter("test")
prediction_splitter = self.create_instance_splitter("test")
return PyTorchPredictor(
input_transform=transformation + prediction_splitter,