This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from torch.utils.data.dataset import Dataset | |
import torch.nn.functional as F | |
class MyDataset(Dataset): | |
def __init__(self, train=True): | |
if train: | |
self.data = list(range(80)) | |
else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mod1 = ['ctrl', 'alt', 'cmd']; // Moving and resizing windows | |
const mod2 = ['shift', 'ctrl', 'alt', 'cmd']; // Focusing windows | |
const numberOfScreens = Screen.all().length; | |
Phoenix.set({ | |
// daemon: true, | |
openAtLogin: true | |
}); |