(layout, prefix)
| 210 | |
| 211 | |
| 212 | def get_layout_prefix_len(layout, prefix): |
| 213 | for i, c in enumerate(layout): |
| 214 | if c not in prefix: |
| 215 | return i |
| 216 | return len(layout) |
| 217 | |
| 218 | |
| 219 | def expand_arg(expandable_layout, arg_has_frames, input_batch, arg_batch): |