src/transformers/models/upernet/modeling_upernet.py/UperNetPreTrainedModel/_init_weights
class UperNetPreTrainedModel:    def _init_weights(self, module):
        if isinstance(module, UperNetPreTrainedModel):
            module.backbone.init_weights()
            module.decode_head.init_weights()
            module.auxiliary_head.init_weights()