(self, hidden_states)
| 464 | self.conv2 = nn.Conv2d(in_channels, codebook_size, kernel_size=1, bias=use_bias) |
| 465 | |
| 466 | def forward(self, hidden_states): |
| 467 | hidden_states = self.conv1(hidden_states) |
| 468 | hidden_states = self.layer_norm(hidden_states.permute(0, 2, 3, 1)).permute(0, 3, 1, 2) |
| 469 | logits = self.conv2(hidden_states) |
| 470 | return logits |
nothing calls this directly
no outgoing calls
no test coverage detected