(self)
| 73 | dtype: jnp.dtype = jnp.float32 |
| 74 | |
| 75 | def setup(self): |
| 76 | self.conv = nn.Conv( |
| 77 | self.in_channels, |
| 78 | kernel_size=(3, 3), |
| 79 | strides=(1, 1), |
| 80 | padding=((1, 1), (1, 1)), |
| 81 | dtype=self.dtype, |
| 82 | ) |
| 83 | |
| 84 | def __call__(self, hidden_states): |
| 85 | batch, height, width, channels = hidden_states.shape |
nothing calls this directly
no outgoing calls
no test coverage detected