Talking_Head_Anime_3 / tha3 /compute /cached_computation_func.py
Harry_FBK
Clone original THA3
60094bd
raw
history blame
No virus
329 Bytes
from typing import Callable, Dict, List
from torch import Tensor
from torch.nn import Module
TensorCachedComputationFunc = Callable[
[Dict[str, Module], List[Tensor], Dict[str, List[Tensor]]], Tensor]
TensorListCachedComputationFunc = Callable[
[Dict[str, Module], List[Tensor], Dict[str, List[Tensor]]], List[Tensor]]