We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b646608 commit d1c1346Copy full SHA for d1c1346
sbi/neural_nets/estimators/base.py
@@ -2,7 +2,7 @@
2
# under the Apache License Version 2.0, see <https://www.apache.org/licenses/>
3
4
from abc import ABC, abstractmethod
5
-from typing import Optional, Protocol, Tuple, TypeVar
+from typing import Optional, Protocol, Tuple, TypeVar, Union
6
7
import torch
8
from torch import Tensor, nn
0 commit comments