Skip to content

Commit

Permalink
doc: add NDArray format (#527)
Browse files Browse the repository at this point in the history
Co-authored-by: Karan Jariwala <karankjariwala@gmail.com>
  • Loading branch information
OrenLeung and karan6181 authored Dec 11, 2023
1 parent 4bcdf72 commit d449b46
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/fundamentals/dataset_conversion_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ out = {'/local/data', 'oci://bucket/data'}

| Name | Class | Name | Class | Name | Class |
| ------ | ------ | ------- | ------- | ---- | ------ |
| bytes | `Bytes` | int8 | `Int8` | pil | `PIL` |
| str | `Str` | int16 | `Int16` | jpeg | `JPEG` |
| int | `Int` | int32 | `Int32` | png | `PNG` |
| uint8 | `UInt8` | int64 | `Int64` | pkl | `Pickle` |
| uint16 | `UInt16` | float16 | `Float16` | json | `JSON` |
| uint32 | `UInt32` | float32 | `Float32` | | |
| uint64 | `UInt64` | float64 | `Float64` | | |
| bytes | `Bytes` | int8 | `Int8` | pil | `PIL` |
| str | `Str` | int16 | `Int16` | jpeg | `JPEG` |
| int | `Int` | int32 | `Int32` | png | `PNG` |
| uint8 | `UInt8` | int64 | `Int64` | pkl | `Pickle` |
| uint16 | `UInt16` | float16 | `Float16` | json | `JSON` |
| uint32 | `UInt32` | float32 | `Float32` | ndarray | `NDArray` |
| uint64 | `UInt64` | float64 | `Float64` | | |

Below is one example where the feature name `x` is an image, and the label `y` is a class value.
<!--pytest.mark.skip-->
Expand Down

0 comments on commit d449b46

Please sign in to comment.