@@ -409,7 +409,7 @@ according the order (2,0,1).</p>
...
@@ -409,7 +409,7 @@ according the order (2,0,1).</p>
<dlclass="function">
<dlclass="function">
<dtid="paddle.v2.image.left_right_flip">
<dtid="paddle.v2.image.left_right_flip">
<codeclass="descclassname">paddle.v2.image.</code><codeclass="descname">left_right_flip</code><spanclass="sig-paren">(</span><em>im</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#paddle.v2.image.left_right_flip"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">paddle.v2.image.</code><codeclass="descname">left_right_flip</code><spanclass="sig-paren">(</span><em>im</em>, <em>is_color=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#paddle.v2.image.left_right_flip"title="Permalink to this definition">¶</a></dt>
<dd><p>Flip an image along the horizontal direction.
<dd><p>Flip an image along the horizontal direction.
Return the flipped image.</p>
Return the flipped image.</p>
<p>Example usage:</p>
<p>Example usage:</p>
...
@@ -420,7 +420,11 @@ Return the flipped image.</p>
...
@@ -420,7 +420,11 @@ Return the flipped image.</p>
<colclass="field-name"/>
<colclass="field-name"/>
<colclass="field-body"/>
<colclass="field-body"/>
<tbodyvalign="top">
<tbodyvalign="top">
<trclass="field-odd field"><thclass="field-name">Paam im:</th><tdclass="field-body">input image with HWC layout</td>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>im</strong> (<em>ndarray</em>) – input image with HWC layout or HW layout for gray image</li>
<li><strong>is_color</strong> (<em>bool</em>) – whether input image is color or not</li>