move dtypes to dtype.py (#2964)

* move dtypes to dtype.py

* fix urllib
This commit is contained in:
George Hotz
2024-01-01 14:58:48 -08:00
committed by GitHub
parent fadaa2ec28
commit a280cfe169
74 changed files with 219 additions and 289 deletions

View File

@@ -2,8 +2,8 @@ import numpy as np
import torch
import unittest, copy
import mmap
from tinygrad.tensor import Tensor, Device
from tinygrad.helpers import dtypes, temp
from tinygrad import Tensor, Device, dtypes
from tinygrad.helpers import temp
from extra.gradcheck import numerical_jacobian, jacobian, gradcheck
x_init = np.random.randn(1,3).astype(np.float32)