"params">()</span>
</h4>
<div class="api-level">
<div></div>
</div>
<div class="jd-details-descr">
<div class="jd-tagdata jd-tagdescr"><p>Returns the number of dimensions (sometimes referred to as <a href="https://www.tensorflow.org/resources/dims_types.html#rank">rank</a>) of the Tensor.

 <p>Will be 0 for a scalar, 1 for a vector, 2 for a matrix, 3 for a 3-dimensional tensor etc.
</p></p></div>
</div>
</div>
<a name="numElements()"></a>
<div class="jd-details">
<h4 class="jd-details-title">
<span class="n