Stay organized with collections Save and categorize content based on your preferences.

Builds backbone from a config.

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.

tf.keras.Model instance of the backbone.