Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinygrad/tinygrad
/ check
Function
check
tinygrad/codegen/opt/__init__.py:19–20 ·
view source on GitHub ↗
(cond:bool, msg:str="")
Source
from the content-addressed store, hash-verified
17
18
class
KernelOptError(Exception):
pass
19
def
check(cond:bool, msg:str=
""
):
20
if
not cond:
raise
KernelOptError(msg)
Callers
2
real_axis
Method · 0.90
apply_opt
Method · 0.90
Calls
1
KernelOptError
Class · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…