ZibinDong's picture
Release extended first-order ActionCodec2 tokenizer
ec2a7fa verified
Raw History Blame Contribute Delete
250 Bytes
"""Shared lightweight types for the frontend layer."""
from __future__ import annotations
import numpy as np
import torch
ActionIdxBatch = list[list[int]]
TokenIds = list[int] | np.ndarray | torch.Tensor
__all__ = ["ActionIdxBatch", "TokenIds"]