mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
ramp.py: correct UOp and Ops import path from tinygrad.uop to tinygrad.uop.ops (#10791)
This commit is contained in:
@@ -239,7 +239,7 @@ print("******* PART 3 *******")
|
|||||||
# it's much simpler than what's in LLVM or MLIR
|
# it's much simpler than what's in LLVM or MLIR
|
||||||
|
|
||||||
from tinygrad import dtypes
|
from tinygrad import dtypes
|
||||||
from tinygrad.uop import UOp, Ops
|
from tinygrad.uop.ops import UOp, Ops
|
||||||
|
|
||||||
# first, we'll construct some const UOps
|
# first, we'll construct some const UOps
|
||||||
a = UOp(Ops.CONST, dtypes.int, arg=2)
|
a = UOp(Ops.CONST, dtypes.int, arg=2)
|
||||||
|
|||||||
Reference in New Issue
Block a user