(x)
| 45 | return self.transformer(input_ids=t, output_hidden_states=False).last_hidden_state |
| 46 | |
| 47 | def split(x): |
| 48 | return x[75 * 0: 75 * 1], x[75 * 1: 75 * 2], x[75 * 2: 75 * 3] |
| 49 | |
| 50 | def pad(x, p, i): |
| 51 | return x[:i] if len(x) >= i else x + [p] * (i - len(x)) |
no outgoing calls
no test coverage detected