mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
int32, and refactor pad/shrink
This commit is contained in:
@@ -14,7 +14,7 @@ def shapetracker_getitem(st, val):
|
||||
class CheckingShapeTracker:
|
||||
def __init__(self, shape):
|
||||
self.st = ShapeTracker(shape)
|
||||
self.t = np.arange(prod(shape), dtype=np.int).reshape(shape)
|
||||
self.t = np.arange(prod(shape), dtype=np.int32).reshape(shape)
|
||||
|
||||
@property
|
||||
def shape(self):
|
||||
|
||||
Reference in New Issue
Block a user