Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ train_resnet.py
File
train_resnet.py
examples/train_resnet.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
from
PIL
import
Image
4
Callers
nothing calls this directly
Calls
11
fetch_mnist
Function · 0.90
getenv
Function · 0.90
ResNet
Class · 0.90
get_parameters
Function · 0.90
train
Function · 0.90
evaluate
Function · 0.90
ComposeTransforms
Class · 0.85
reshape
Method · 0.80
stack
Method · 0.80
load_from_pretrained
Method · 0.45
resize
Method · 0.45
Tested by
no test coverage detected