mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-05-22 23:59:40 +02:00
Simplify Batch type
This commit is contained in:
@@ -3,11 +3,10 @@ from typing import Any, Tuple, TypeAlias
|
||||
from numpy.typing import NDArray
|
||||
from torch import Tensor
|
||||
|
||||
Batch : TypeAlias = Tuple[Tensor, Tensor]
|
||||
|
||||
Embedding : TypeAlias = NDArray[Any]
|
||||
EmbeddingDataset : TypeAlias = NDArray[Embedding]
|
||||
FaceLandmark5 : TypeAlias = NDArray[Any]
|
||||
|
||||
VisionFrame : TypeAlias = NDArray[Any]
|
||||
VisionTensor : TypeAlias = Tensor
|
||||
|
||||
Batch : TypeAlias = Tuple[VisionTensor, VisionTensor]
|
||||
|
||||
Reference in New Issue
Block a user