MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / get_node

Function get_node

extra/viz/kernel_graph.py:6–6  ·  view source on GitHub ↗
(graph:dict, key)

Source from the content-addressed store, hash-verified

4from tinygrad.helpers import ansistrip
5
6def get_node(graph:dict, key): return graph[str(key)]
7
8if __name__ == "__main__":
9 parser = argparse.ArgumentParser(description="print CALL graph from DEBUG=5 tinygrad.viz.cli --json output")

Callers 1

kernel_graph.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…