'Args:
input_names (list), output_names(list): list of names
tower (int): build the predictor on device \'/gpu:{tower}\' or use -1 for \'/cpu:0\'.
Returns:
an :class:`OnlinePredictor`.'

def get_predictor(self, input_names, output_names, tower=0):

    return self.predictor_factory.get_predictor(input_names, output_names, tower)
