Initialize weights.
(self)
| 126 | dimension=3) |
| 127 | |
| 128 | def init_weights(self): |
| 129 | """Initialize weights.""" |
| 130 | nn.init.normal_(self.conv_cls.kernel, std=.01) |
| 131 | nn.init.constant_(self.conv_cls.bias, bias_init_with_prob(.01)) |
| 132 | |
| 133 | def forward(self, x: List[Tensor], batch_size) -> Tuple[List[Tensor], ...]: |
| 134 | """Forward pass. |
nothing calls this directly
no outgoing calls
no test coverage detected