<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/vision/modeling/factory.py#L41-L68) |

Builds the classification model.

    tfm.vision.factory.build_classification_model(
        input_specs: tf_keras.layers.InputSpec,
        model_config: https://www.tensorflow.org/api_docs/python/tfm/vision/configs/image_classification/ImageClassificationModel,
        l2_regularizer: Optional[tf_keras.regularizers.Regularizer] = None,
        skip_logits_layer: bool = False,
        backbone: Optional[tf_keras.Model] = None
    ) -> tf_keras.Model