def __init__(self, config, *inputs, **kwargs):
    super().__init__(config, *inputs, **kwargs)
    self.num_labels = config.num_labels
    self.convbert = TFConvBertMainLayer(config, name='convbert')
    classifier_dropout = (config.classifier_dropout if (config.classifier_dropout is not None) else config.hidden_dropout_prob)
    self.dropout = tf.keras.layers.Dropout(classifier_dropout)
    self.classifier = tf.keras.layers.Dense(config.num_labels, kernel_initializer=get_initializer(config.initializer_range), name='classifier')
def __init__(self, config, *inputs, **kwargs):
    super().__init__(config, *inputs, **kwargs)
    self.num_labels = config.num_labels
    self.convbert = TFConvBertMainLayer(config, name='convbert')
    classifier_dropout = (config.classifier_dropout if (config.classifier_dropout is not None) else config.hidden_dropout_prob)
    self.dropout = tf.keras.layers.Dropout(classifier_dropout)
    self.classifier = tf.keras.layers.Dense(config.num_labels, kernel_initializer=get_initializer(config.initializer_range), name='classifier')