Files
M1kep-KepPromptLang/lib/actions/utils.py
T

9 lines
259 B
Python

from typing import List
from custom_nodes.ClipStuff.lib.actions.types import SegOrAction
def batch_size_info(batch: List[SegOrAction]):
for segment in batch:
print("Token Len: " + str(segment.token_length()))
print(segment.depth_repr())