(self)
| 21 | dtype: jnp.dtype = jnp.float32 |
| 22 | |
| 23 | def setup(self): |
| 24 | self.conv = nn.Conv( |
| 25 | self.out_channels, |
| 26 | kernel_size=(3, 3), |
| 27 | strides=(1, 1), |
| 28 | padding=((1, 1), (1, 1)), |
| 29 | dtype=self.dtype, |
| 30 | ) |
| 31 | |
| 32 | def __call__(self, hidden_states): |
| 33 | batch, height, width, channels = hidden_states.shape |
nothing calls this directly
no outgoing calls
no test coverage detected