InfiniSplat / src /model /types.py
PLUS-WAVE's picture
Deploy InfiniSplat ZeroGPU demo
41ff959 verified
Raw
History Blame Contribute Delete
499 Bytes
from typing import TypedDict
from jaxtyping import Float
from torch import Tensor
class BatchedViews(TypedDict, total=False):
"""Single- or multi-view tensors consumed by the inference encoders."""
extrinsics: Float[Tensor, "batch view 4 4"]
intrinsics: Float[Tensor, "batch view 3 3"]
image: Float[Tensor, "batch view channel height width"]
prompt_disparity: Float[Tensor, "batch view channel height width"]
prompt_mask: Float[Tensor, "batch view channel height width"]