Yoshiki Matsuda

Results 2 issues of Yoshiki Matsuda

I found the following tensor creation for a 0-dim array ([array scalars in numpy](https://numpy.org/doc/stable/reference/arrays.scalars.html)) causes SIGSEGV. This PR adds checking of array dimension to fix it and accept the creation....

For `ndarray` typing, I would like to suggest using [NDArray](https://numpy.org/devdocs/reference/typing.html#numpy.typing.NDArray) instead of [ArrayLike](https://numpy.org/devdocs/reference/typing.html#numpy.typing.ArrayLike) when the `dtype` is given. The [NDArray](https://numpy.org/devdocs/reference/typing.html#numpy.typing.NDArray) has data type annotation while [ArrayLike](https://numpy.org/devdocs/reference/typing.html#numpy.typing.ArrayLike) appears to treat the...