This file contains 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
from pytorch_lightning.utilities.seed import seed_everything | |
from torch import device as Device, dtype as DType, Tensor | |
from torch.nn import Parameter, LSTM, init | |
from typing import List, Tuple, Optional | |
import torch.nn as nn | |
import torch | |
def reverse(lst: List[Tensor]) -> List[Tensor]: | |
return lst[::-1] |