Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Conversation

@wenleix
Copy link
Contributor

@wenleix wenleix commented Aug 6, 2022

Original PR: #468

Summary:
Pull Request resolved: #468

dtypes.py contains of two parts:
(1) Standard Arrow-compatible DataType definition (Int8/16/32/64, Float32/64, String, List, Map, Struct)
(2) Utility functions around DType

The DType definition is quite standalone and stable; Refactor DataType definition into seperate file so allows reuse in next gen TorchArrow, such as TorchArrow-UPM or Tensor-based TA

In theory we could let dtypes.py only contain DType definition, and move other things into `dtype_util.py`. Starting with this first step.

Reviewed By: dracifer

Differential Revision: D38358389

fbshipit-source-id: 632037498290222a60794e26d0db0c98c73f1391
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 6, 2022
@wenleix wenleix changed the title Refactor DType definition into dtypes_core.py (#468) sync from fbsync: Refactor DType definition into dtypes_core.py Aug 6, 2022
@wenleix wenleix merged commit a9c7452 into main Aug 6, 2022
@wenleix wenleix deleted the dtypes_core branch August 6, 2022 06:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants