@parameterized.parameters(('resnet_3d', (8, 224, 224), 5e-05), ('resnet_3d', (None, None, None), 5e-05))
def test_builder(self, backbone_type, input_size, weight_decay):
    input_specs = tf.keras.layers.InputSpec(shape=[None, input_size[0], input_size[1], input_size[2], 3])
    model_config = video_classification_cfg.VideoClassificationModel(backbone=backbones_3d.Backbone3D(type=backbone_type))
    l2_regularizer = (tf.keras.regularizers.l2(weight_decay) if weight_decay else None)
    _ = factory_3d.build_video_classification_model(input_specs=input_specs, model_config=model_config, num_classes=2, l2_regularizer=l2_regularizer)
@parameterized.parameters(('resnet_3d', (8, 224, 224), 5e-05), ('resnet_3d', (None, None, None), 5e-05))
def test_builder(self, backbone_type, input_size, weight_decay):
    input_specs = tf.keras.layers.InputSpec(shape=[None, input_size[0], input_size[1], input_size[2], 3])
    model_config = video_classification_cfg.VideoClassificationModel(backbone=backbones_3d.Backbone3D(type=backbone_type))
    l2_regularizer = (tf.keras.regularizers.l2(weight_decay) if weight_decay else None)
    _ = factory_3d.build_video_classification_model(input_specs=input_specs, model_config=model_config, num_classes=2, l2_regularizer=l2_regularizer)