<li><strong>print_tensor_type</strong> (<em>bool</em>) – Print the tensor type.</li>
<li><strong>print_tensor_type</strong> (<em>bool</em>) – Print the tensor type.</li>
<li><strong>print_tensor_shape</strong> (<em>bool</em>) – Print the tensor shape.</li>
<li><strong>print_tensor_shape</strong> (<em>bool</em>) – Print the tensor shape.</li>
<li><strong>print_tensor_lod</strong> (<em>bool</em>) – Print the tensor lod.</li>
<li><strong>print_tensor_lod</strong> (<em>bool</em>) – Print the tensor lod.</li>
<li><strong>print_phase</strong> (<em>bool</em>) – Which phase to displace, including ‘forward’,
<li><strong>print_phase</strong> (<em>str</em>) – Which phase to displace, including ‘forward’,
‘backward’ and ‘both’. If set to ‘backward’ or ‘both’, will
‘backward’ and ‘both’. If set to ‘backward’ or ‘both’, will
print the gradients of input tensor.</li>
print the gradients of input tensor.</li>
</ul>
</ul>
...
@@ -2214,7 +2214,7 @@ and <strong>cell_t_prev</strong> not be the same or the 2nd dimensions of
...
@@ -2214,7 +2214,7 @@ and <strong>cell_t_prev</strong> not be the same or the 2nd dimensions of
Tensor variable with a single element, otherwise must be in the
Tensor variable with a single element, otherwise must be in the
range <spanclass="math">\([-rank(input), rank(input))\)</span>. If <spanclass="math">\(dim < 0\)</span>,
range <spanclass="math">\([-rank(input), rank(input))\)</span>. If <spanclass="math">\(dim < 0\)</span>,
the dimension to reduce is <spanclass="math">\(rank + dim\)</span>.</li>
the dimension to reduce is <spanclass="math">\(rank + dim\)</span>.</li>
<li><strong>keep_dim</strong> (<em>bool</em>) – Whether to reserve the reduced dimension in the
<li><strong>keep_dim</strong> (<em>bool|False</em>) – Whether to reserve the reduced dimension in the
output Tensor. The result tensor will have one fewer dimension
output Tensor. The result tensor will have one fewer dimension
than the <codeclass="xref py py-attr docutils literal"><spanclass="pre">input</span></code> unless <codeclass="xref py py-attr docutils literal"><spanclass="pre">keep_dim</span></code> is true.</li>
than the <codeclass="xref py py-attr docutils literal"><spanclass="pre">input</span></code> unless <codeclass="xref py py-attr docutils literal"><spanclass="pre">keep_dim</span></code> is true.</li>
<li><strong>name</strong> (<em>str|None</em>) – A name for this layer(optional). If set None, the layer
<li><strong>name</strong> (<em>str|None</em>) – A name for this layer(optional). If set None, the layer