diff --git a/caffe2fluid/doc/Crop.md b/caffe2fluid/doc/Crop.md index b365e93867d8bdff7f2ea32fd9a8c41dfeb581a4..9a06a91846ab3c461ab848916bf1390bafa506d8 100644 --- a/caffe2fluid/doc/Crop.md +++ b/caffe2fluid/doc/Crop.md @@ -22,9 +22,9 @@ layer { ```python paddle.fluid.layers.crop( x, - shape = None, - offsets = None, - name = None + shape=None, + offsets=None, + name=None ) ``` @@ -47,7 +47,7 @@ layer { bottom: "data1" bottom: "data2" top: ”crop" - crop_param{ + crop_param { axis: 1 offset: 0 offset: 25 @@ -59,7 +59,7 @@ layer { ```python # PaddlePaddle示例: # inputs1输入shape:(20,3,128,128) -output1 = fluid.layers.crop(x = inputs1, shape=inputs2, offsets=[0,0,25,25]) +output1 = fluid.layers.crop(x=inputs1, shape=inputs2, offsets=[0,0,25,25]) # 输出shape:(20,2,64,64) -output = fluid.layers.crop(x = inputs1, shape=[20,2,64,64], offsets=[0,0,25,25]) +output = fluid.layers.crop(x=inputs1, shape=[20,2,64,64], offsets=[0,0,25,25]) ```