<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_3d.py#L55-L76) |

Builds backbone from a config.

    tfm.vision.factory_3d.build_model(
        model_type: str,
        input_specs: tf_keras.layers.InputSpec,
        model_config: https://www.tensorflow.org/api_docs/python/tfm/hyperparams/Config,
        num_classes: int,
        l2_regularizer: tf_keras.regularizers.Regularizer = None
    ) -> tf_keras.Model

<br />

<br />

<br />

| ## Args ||
|---|---|
| `model_type` | string name of model type. It should be consistent with ModelConfig.model_type. |
| `input_specs` | tf_keras.layers.InputSpec. |
| `model_config` | a OneOfConfig. Model config. |
| `num_classes` | number of classes. |
| `l2_regularizer` | tf_keras.regularizers.Regularizer instance. Default to None. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| tf_keras.Model instance of the backbone. ||

<br />