MCPcopy
hub / github.com/tinygrad/tinygrad / function.py

File function.py

tinygrad/function.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import functools, itertools, time
2from typing import Generic, TypeVar, Callable, cast, overload
3from tinygrad.helpers import Context, dedup, getenv, DEBUG
4from tinygrad.uop.ops import UOp, Ops, graph_rewrite, PatternMatcher, UPat

Callers

nothing calls this directly

Calls 6

PatternMatcherClass · 0.90
UPatClass · 0.90
UOpClass · 0.90
add_to_ctxFunction · 0.85
replaceMethod · 0.45

Tested by

no test coverage detected