MCPcopy
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
2import os
3if "NOOPT" not in os.environ: os.environ["NOOPT"] = "1"
4from tinygrad import Device, nn, Tensor, dtypes

Callers

nothing calls this directly

Calls 15

getenvFunction · 0.90
GPTClass · 0.90
GPTConfigClass · 0.90
dedupFunction · 0.90
to_function_nameFunction · 0.90
flattenFunction · 0.90
modelFunction · 0.85
reshapeMethod · 0.80
scheduleMethod · 0.80
appendMethod · 0.80
get_parametersMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected