mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
folding without UNMUL (#5628)
* folding without UNMUL * fix failures, index_collapse * import ReduceOps * test_arange_4096 isn't folding
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import unittest, itertools
|
||||
from test.helpers import TestUOps
|
||||
from tinygrad.dtype import dtypes
|
||||
from tinygrad.ops import BinaryOps, TernaryOps, UnaryOps # noqa: F401
|
||||
from tinygrad.ops import BinaryOps, TernaryOps, ReduceOps, UnaryOps # noqa: F401
|
||||
from tinygrad.codegen.uops import UOps, UOp, PatternMatcher, UPat, _match
|
||||
from tinygrad.codegen.uopgraph import UOpGraph, constant_folder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user