Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ transformer.py
File
transformer.py
examples/transformer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
import
numpy
as
np
3
import
random
4
Callers
nothing calls this directly
Calls
7
Transformer
Class · 0.90
Adam
Function · 0.90
get_parameters
Function · 0.90
train
Function · 0.90
evaluate
Function · 0.90
make_dataset
Function · 0.85
any
Method · 0.45
Tested by
no test coverage detected