Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ dtype.py
File
dtype.py
tinygrad/dtype.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
__future__
import
annotations
2
from
typing
import
Final, ClassVar, Callable, Literal
3
import
math, struct, ctypes, functools
4
from
dataclasses
import
dataclass, fields
Callers
nothing calls this directly
Calls
7
getenv
Function · 0.90
InvalidType
Class · 0.85
float_to_bf16
Function · 0.85
fp8_to_float
Function · 0.85
float_to_fp8
Function · 0.85
is_float
Method · 0.80
c
Function · 0.50
Tested by
no test coverage detected