Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ fuzz_matmul.py
File
fuzz_matmul.py
extra/gemm/fuzz_matmul.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
numpy
as
np
2
from
tinygrad.helpers
import
getenv
3
from
tinygrad
import
dtypes, Tensor
4
dtype_in = dtypes.half
if
getenv(
"HALF"
)
else
dtypes.bfloat16
if
getenv(
"BFLOAT16"
)
else
dtypes.float
Callers
nothing calls this directly
Calls
8
getenv
Function · 0.90
realize
Method · 0.80
rand
Method · 0.80
matmul
Method · 0.80
append
Method · 0.80
isclose
Method · 0.80
numpy
Method · 0.45
where
Method · 0.45
Tested by
no test coverage detected