---
_import: ../mobilenet.yaml
_trainable: false
_gate:
model:
    layers:
        _gated_conv: &gated_conv
            type: gated_convolution
            gate_params:
                policy: parametric_gamma
                density: 0.5
                weight: 0.0001
                trainable: true
                enable: true
            trainable: $(_trainable)
        _dsconv: &dsconv
            kwargs: {enable: true, trainable: $(_trainable)}
            layers:
                depthwise: {trainable: ^(trainable)}
                pointwise:
                    <<: *gated_conv
                    gate_params: {enable: ^(enable)}
                    trainable: ^(trainable)
        conv0: {<<: *gated_conv}
        conv1: {<<: *dsconv}
        conv2: {<<: *dsconv}
        conv3: {<<: *dsconv}
        conv4: {<<: *dsconv}
        conv5: {<<: *dsconv}
        conv6: {<<: *dsconv}
        conv7: {<<: *dsconv}
        conv8: {<<: *dsconv}
        conv9: {<<: *dsconv}
        conv10: {<<: *dsconv}
        conv11: {<<: *dsconv}
        conv12: {<<: *dsconv}
        conv13: {<<: *dsconv}
        fc: {trainable: $(_trainable)}
