blob: 142c11ce2d00253096d3096ce272d92c84107470 [file]
def ones(shape: Union[<a href="psi_element://#typename#int">int</a>,&nbsp;Iterable[<a href="psi_element://#typename#int">int</a>]], dtype: Optional[<a href="psi_element://#typename#object">object</a>] = None, order: Optional[<a href="psi_element://#typename#str">str</a>] = &#39;C&#39;) -&gt; <a href="psi_element://#typename#ndarray">ndarray</a>
**Test docstring**
Return a new array of given shape and type, filled with ones.