dtypes
dtypes
¤
Methods:
-
is_float
– -
is_int
– -
is_unsigned
– -
from_py
– -
as_const
– -
min
– -
max
– -
finfo
– -
fields
– -
imageh
– -
imagef
–
Attributes:
-
void
(Final[DType]
) – -
bool
(Final[DType]
) – -
int8
(Final[DType]
) – -
uint8
(Final[DType]
) – -
int16
(Final[DType]
) – -
uint16
(Final[DType]
) – -
int32
(Final[DType]
) – -
uint32
(Final[DType]
) – -
int64
(Final[DType]
) – -
uint64
(Final[DType]
) – -
float16
(Final[DType]
) – -
bfloat16
(Final[DType]
) – -
float32
(Final[DType]
) – -
float64
(Final[DType]
) – -
half
– -
float
– -
double
– -
uchar
– -
ushort
– -
uint
– -
ulong
– -
char
– -
short
– -
int
– -
long
– -
default_float
(DType
) – -
default_int
(DType
) – -
floats
– -
uints
– -
sints
– -
ints
–
is_float
¤
Source code in tinygrad/dtype.py
46 47 48 |
|
is_int
¤
Source code in tinygrad/dtype.py
49 50 51 |
|
is_unsigned
¤
Source code in tinygrad/dtype.py
52 53 54 |
|
from_py
¤
from_py(x) -> DType
Source code in tinygrad/dtype.py
55 56 57 58 59 60 61 62 |
|
as_const
¤
Source code in tinygrad/dtype.py
63 64 65 66 67 68 69 |
|
min
¤
min(dtype: DType)
Source code in tinygrad/dtype.py
70 71 72 73 74 |
|
max
¤
max(dtype: DType)
Source code in tinygrad/dtype.py
75 76 77 78 79 |
|
finfo
¤
Source code in tinygrad/dtype.py
80 81 82 83 |
|
fields
¤
Source code in tinygrad/dtype.py
84 85 |
|
imageh
¤
imageh(shp)
Source code in tinygrad/dtype.py
108 109 |
|
imagef
¤
imagef(shp)
Source code in tinygrad/dtype.py
110 111 |
|