mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
5 lines
426 B
HTML
5 lines
426 B
HTML
def ones(shape, dtype=None, order='C')
|
|
Inferred type: (shape: Union[<a href="psi_element://#typename#int">int</a>, Iterable[<a href="psi_element://#typename#int">int</a>]], dtype: <a href="psi_element://#typename#object">object</a>, order: <a href="psi_element://#typename#str">str</a>) -> ndarray<br>
|
|
**Test docstring**
|
|
Return a new array of given shape and type, filled with ones.
|