---
_import: ../_global.yaml
_overrider:
    pruner:
        type: mayo.override.DynamicNetworkSurgeryPruner
        should_update: false
        _priority: 100
    quantizer:
        type: mayo.override.FloatingPointQuantizer
        width: 32
        exponent_bias: 127
        mantissa_width: 23
        should_update: false
        stochastic: false
    mean_quantizer:
        type: mayo.override.ShiftQuantizer
        width: 8
        bias: 16
        overflow_rate: 0.0
        should_update: true
        stochastic: false
    weights: &quantizer
        dns: $(_overrider.pruner)
        recentralize:
            type: mayo.override.Recentralizer
            quantizer: $(_overrider.quantizer)
            mean_quantizer: $(_overrider.mean_quantizer)
            reg: 0.00001
    depthwise_weights: &quantizer
        recentralize:
            type: mayo.override.Recentralizer
            quantizer: $(_overrider.quantizer)
            mean_quantizer: $(_overrider.mean_quantizer)
            reg: 0.00001
    biases:
        float:
            $(_overrider.quantizer)
