activeloopai / activeloopai/deeplake

htype for tensors containing only numbers

Aberta
#1,553 3 comentários 0 reações 1 responsável Reivindicada por @istranic Ver no GitHub
Linguagem predominante
C++
Estrelas
9.2k
Forks
722
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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`?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.