def test_mobilenet_encoder_creation(self, model_name):
    backbone_options = config_pb2.ModelOptions.BackboneOptions(
        name=model_name, use_squeeze_and_excite=True, output_stride=32)
    encoder = builder.create_encoder(
        backbone_options,
        tf.keras.layers.experimental.SyncBatchNormalization)
    self.assertIsInstance(encoder, mobilenet.MobileNet)