mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 22:13:41 +08:00
5 lines
166 B
Python
5 lines
166 B
Python
from tinygrad.device import Compiled, HostAllocator
|
|
|
|
class NpyDevice(Compiled):
|
|
def __init__(self, device:str): super().__init__(device, HostAllocator(self), None)
|