File size: 390 Bytes
690dc6b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# standard-library imports
import typing as tt
# third-party imports
import torch
# types definitions
Title = str
Text = str
Subreddit = str
Fetch_UTC = float
Hours_Ago = float
Count = int
Tensor = torch.Tensor
RawSample = tt.Tuple[Title, Text, Subreddit, Fetch_UTC, Hours_Ago]
ProcessedSample = tt.Tuple[Tensor, Tensor, int, float, Hours_Ago,
Count, Count, Count] |