Create an array of ones Returns a new array having a specified shape and filled with ones.
(shape, *, dtype=None, meta=None, **kwargs)
| 360 | |
| 361 | @staticmethod |
| 362 | def ones(shape, *, dtype=None, meta=None, **kwargs): |
| 363 | """Create an array of ones |
| 364 | |
| 365 | Returns a new array having a specified shape and filled |
| 366 | with ones. |
| 367 | """ |
| 368 | raise NotImplementedError |
| 369 | |
| 370 | @staticmethod |
| 371 | def zeros(shape, *, dtype=None, meta=None, **kwargs): |
no outgoing calls