(txt_input)
| 61 | # Helper function to sequentially apply transformations |
| 62 | def _seq_transform(*transforms): |
| 63 | def func(txt_input): |
| 64 | for transform in transforms: |
| 65 | txt_input = transform(txt_input) |
| 66 | return txt_input |
| 67 | return func |
| 68 | |
| 69 | # Function to add BOS/EOS and create tensor for input sequence indices |
nothing calls this directly
no outgoing calls
no test coverage detected