activeloopai / activeloopai/deeplake
htype for tensors containing only numbers
- Lingua principale
- C++
- Stelle
- 9.2k
- Fork
- 722
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I am wondering what `htype` to use for a tensor containing only numbers.
In the tutorial [Creating Time-Series Datasets](https://docs.activeloop.ai/hub-tutorials/creating-time-series-datasets), the tensors containing only numbers are not given any `htype` which from what I understand would default to `htype=generic` for those tensors with `dtype=None`. ([Source](https://github.com/activeloopai/Hub/blob/225179dd0ca34509a074eba2b8b7acd70f982fbd/hub/htype.py#L38))
Moreover, from the `HTYPE_CONFIGURATIONS` ([Source](https://github.com/activeloopai/Hub/blob/225179dd0ca34509a074eba2b8b7acd70f982fbd/hub/htype.py#L47)) it seems there is no specific `htype` for numbers (`int` or `float`).
Should I therefore define a custom `htype` and `dtype` for the tensors that contains only numbers by myself, or use `htype=text`?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.