pytorch/torcharrow

Call type inferring in interop.from_pylist

OswinC opened this issue · 0 comments

interop.from_pylist has the dtype argument default to None, which must be a DType instance before passing to Scope.default._FromPyList. https://github.com/facebookresearch/torcharrow/blob/main/torcharrow/interop.py#L40
This issue is to fix it so a dtype is automatically inferred from the data when the argument is a None.
Hint: infer_dtype_from_prefix