<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#L27-L52) |

Decorates a builder of model class.

    tfm.vision.factory_3d.register_model_builder(
        key: str
    )

The builder should be a Callable (a class or a function).
This decorator supports registration of backbone builder as follows:

    class MyModel(tf_keras.Model):
      pass

    @register_backbone_builder('mybackbone')
    def builder(input_specs, config, l2_reg):
      return MyModel(...)

    # Builds a MyModel object.
    my_backbone = build_backbone_3d(input_specs, config, l2_reg)

<br />

<br />

<br />

| ## Args ||
|---|---|
| `key` | the key to look up the builder. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A callable for use as class decorator that registers the decorated class for creation from an instance of model class. ||

<br />