Update predictor.py
Browse files- predictor.py +1 -0
predictor.py
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
|
7 |
import torch
|
8 |
import torch.nn.functional as F
|
|
|
9 |
|
10 |
def smart_cat(tensor1, tensor2, dim):
|
11 |
if tensor1 is None:
|
|
|
6 |
|
7 |
import torch
|
8 |
import torch.nn.functional as F
|
9 |
+
from typing import Optional, Tuple
|
10 |
|
11 |
def smart_cat(tensor1, tensor2, dim):
|
12 |
if tensor1 is None:
|