
github.com/tinygrad/tinygrad/tensor.py
# inspired by github.com karpathy micrograd engine dot py from __future__ import annotations import time, math, itertools from typing import List, Tuple, Callable, Optional, ClassVar, Type, Union, Sequence, Iterable, Dict, DefaultDict, cast, get_args from collections import defaultdict from functools import partialmethod, reduce import numpy as np George George You make my GPU hot def custom random out Buffer Tensor seed += 1 Tensor seed += 1

