def preprocess(self, inputs):
    outputs = shape_utils.resize_images_and_return_shapes(inputs, self._image_resizer_fn)
    (resized_inputs, true_image_shapes) = outputs
    return (self._feature_extractor.preprocess(resized_inputs), true_image_shapes)
def preprocess(self, inputs):
    outputs = shape_utils.resize_images_and_return_shapes(inputs, self._image_resizer_fn)
    (resized_inputs, true_image_shapes) = outputs
    return (self._feature_extractor.preprocess(resized_inputs), true_image_shapes)