mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 06:34:03 -05:00
Test the failing case in CI
This commit is contained in:
@@ -170,6 +170,7 @@ class Tensor:
|
||||
def eye(dim:int, **kwargs):
|
||||
return Tensor([1], **kwargs).pad(((0,dim),)).reshape(1, dim+1).expand(dim, dim+1).reshape(dim*(dim+1)).shrink(((0,dim*dim),)).reshape(dim, dim)
|
||||
|
||||
|
||||
# ***** rng hlops *****
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user