(
self, data: Any, chunks: T_Chunks | _NormalizedChunks, **kwargs: Any
)
| 63 | ) # type: ignore[no-untyped-call] |
| 64 | |
| 65 | def from_array( |
| 66 | self, data: Any, chunks: T_Chunks | _NormalizedChunks, **kwargs: Any |
| 67 | ) -> DaskArray | Any: |
| 68 | import dask.array as da |
| 69 | |
| 70 | if isinstance(data, ImplicitToExplicitIndexingAdapter): |
| 71 | # lazily loaded backend array classes should use NumPy array operations. |
| 72 | kwargs["meta"] = np.ndarray |
| 73 | |
| 74 | return da.from_array( |
| 75 | data, |
| 76 | chunks, |
| 77 | **kwargs, |
| 78 | ) # type: ignore[no-untyped-call] |
| 79 | |
| 80 | def compute( |
| 81 | self, *data: Any, **kwargs: Any |
no outgoing calls
no test coverage detected