Broadcasts an array to a specified shape, by either manipulating chunk keys or copying chunk manifest entries.
(
x: "ConcatenatableArray", /, fill_value, **kwargs
)
| 138 | |
| 139 | @implements(np.full_like) |
| 140 | def full_like( |
| 141 | x: "ConcatenatableArray", /, fill_value, **kwargs |
| 142 | ) -> "ConcatenatableArray": |
| 143 | """ |
| 144 | Broadcasts an array to a specified shape, by either manipulating chunk keys or copying chunk manifest entries. |
| 145 | """ |
| 146 | if not isinstance(x, ConcatenatableArray): |
| 147 | raise TypeError |
| 148 | return ConcatenatableArray(np.full(x.shape, fill_value=fill_value, **kwargs)) |
| 149 | |
| 150 | |
| 151 | @implements(np.all) |
nothing calls this directly
no test coverage detected
searching dependent graphs…