Shortcuts

torcharrow.from_arrow

torcharrow.from_arrow(data, dtype: Optional[DType] = None, device: str = '') Union[Column, DataFrame]

将箭头数组/表转换为TorchArrow列/数据框。