_do_layer_norm
63 f"mix {self.mixture_size} tensors."
64 )
65
66 def _do_layer_norm(tensor, broadcast_mask, num_elements_not_masked):67 tensor_masked = tensor * broadcast_mask
68 mean = torch.sum(tensor_masked) / num_elements_not_masked
69 variance = (
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.