Spaces:
Running
on
T4
Running
on
T4
File size: 155 Bytes
b9eb0a3 |
1 2 3 4 5 6 7 8 9 |
import torch
class TransformerVisualizer():
def __init__(self):
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|