(dim, dim_head, heads, ff_mult, random_tensor)
| 162 | ], |
| 163 | ) |
| 164 | def test_parallel_transformer_block(dim, dim_head, heads, ff_mult, random_tensor): |
| 165 | block = ParallelTransformerBlock(dim, dim_head, heads, ff_mult) |
| 166 | output = block(random_tensor) |
| 167 | assert output.shape == random_tensor.shape |
| 168 | |
| 169 | |
| 170 | @pytest.mark.parametrize( |
nothing calls this directly
no outgoing calls
no test coverage detected