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

7 lines
234 B
Python

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())