mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
ane refactor, fix examples
This commit is contained in:
@@ -7,7 +7,7 @@ import time
|
||||
ba = Tensor(np.random.normal(size=(0x4000,)))
|
||||
for dev in ["CPU", "GPU", "ANE"]:
|
||||
if dev == "GPU":
|
||||
baa = ba.cuda()
|
||||
baa = ba.gpu()
|
||||
elif dev == "ANE":
|
||||
baa = ba.ane()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user