(*, shape: tuple)
| 108 | |
| 109 | |
| 110 | def random_int_array(*, shape: tuple) -> Tensor: |
| 111 | return jax.random.randint(jax.random.PRNGKey(0), shape=shape, minval=1, maxval=VOCAB_SIZE) |
| 112 | |
| 113 | |
| 114 | class TestTextEmbeddingStreamEncoder(TestCase): |
no outgoing calls
no test coverage detected