things that are only used in one place don't belong in helpers [pr] (#6878)

* things that are only used in one place don't belong in helpers [pr]

* pretty print moved
This commit is contained in:
George Hotz
2024-10-04 17:27:38 +08:00
committed by GitHub
parent f4ec39fe58
commit cdff1d75b6
9 changed files with 81 additions and 79 deletions

View File

@@ -3,8 +3,8 @@ from typing import Dict, Union, Tuple, Any, List, cast
import functools, hashlib
from enum import Enum, auto
from dataclasses import dataclass
from tinygrad.helpers import dedup, pretty_print, prod
from tinygrad.ops import ReduceOps, UnaryOps, BinaryOps, TernaryOps, UOp, UOps
from tinygrad.helpers import dedup, prod
from tinygrad.ops import ReduceOps, UnaryOps, BinaryOps, TernaryOps, UOp, UOps, pretty_print
from tinygrad.dtype import ImageDType, PtrDType, dtypes, DType, ConstType
from tinygrad.shape.symbolic import Variable, sint
from tinygrad.shape.shapetracker import ShapeTracker