mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
5 lines
492 B
HTML
5 lines
492 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: Optional[<a href="psi_element://#typename#object">object</a>], order: Optional[<a href="psi_element://#typename#str">str</a>]) -> <a href="psi_element://#typename#ndarray">ndarray</a><br>
|
|
**Test docstring**
|
|
Return a new array of given shape and type, filled with ones.
|