mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
add transpose, start on transformer
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import numpy as np
|
||||
import torch
|
||||
import unittest
|
||||
from tinygrad.tensor import Tensor, GPU, Device
|
||||
from tinygrad.tensor import Tensor, GPU, ANE, Device
|
||||
from extra.gradcheck import numerical_jacobian, jacobian, gradcheck
|
||||
from .config import ANE
|
||||
|
||||
|
||||
x_init = np.random.randn(1,3).astype(np.float32)
|
||||
U_init = np.random.randn(3,3).astype(np.float32)
|
||||
|
||||
Reference in New Issue
Block a user