(self, x: SparseTensor)
| 48 | A GroupNorm layer that converts to float32 before the forward pass. |
| 49 | """ |
| 50 | def forward(self, x: SparseTensor) -> SparseTensor: |
| 51 | return super().forward(x.float()).type(x.dtype) |
| 52 | |
| 53 | class SparseLayerNorm32(SparseLayerNorm): |
| 54 | """ |