diff --git a/python/paddle/trainer_config_helpers/layers.py b/python/paddle/trainer_config_helpers/layers.py index 49475fdf88..fdb6f83f2b 100755 --- a/python/paddle/trainer_config_helpers/layers.py +++ b/python/paddle/trainer_config_helpers/layers.py @@ -5980,12 +5980,11 @@ def crop_layer(input, offset, axis=2, shape=None, name=None, layer_attr=None): """ The crop layer crops images by offset and shape. User can set crop shape by args 'shape' explicitly or by reference input layer. - + The example usage is: .. code-block:: python - - crop = crop_layer(input=[image_input, reference_input], axis=2, offset=[2, 3]) + crop = crop_layer(input=[image_input, reference_input], axis=2, offset=[2, 3]) :param input: The input layer.If two inputs were setted, the second input will be regarded as reference input