Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ export.py
File
export.py
examples/llm.c/export.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
import
os
3
if
"NOOPT"
not in os.environ: os.environ[
"NOOPT"
] =
"1"
4
from
tinygrad
import
Device, nn, Tensor, dtypes
Callers
nothing calls this directly
Calls
15
getenv
Function · 0.90
GPT
Class · 0.90
GPTConfig
Class · 0.90
dedup
Function · 0.90
to_function_name
Function · 0.90
flatten
Function · 0.90
model
Function · 0.85
reshape
Method · 0.80
schedule
Method · 0.80
append
Method · 0.80
get_parameters
Method · 0.45
replace
Method · 0.45
Tested by
no test coverage detected