src/transformers/models/deberta_v2/modeling_tf_deberta_v2.py/TFDebertaV2Encoder/build
class TFDebertaV2Encoder:    def build(self, input_shape):
        if self.relative_attention:
            self.rel_embeddings = self.add_weight(
                name="rel_embeddings.weight",
                shape=[self.pos_ebd_size, self.config.hidden_size],
                initializer=get_initializer(self.config.initializer_range),
            )
        return super().build(input_shape)