Convert a scalar add layer from mxnet to coreml.

    Parameters
    ----------
    net: network
        A mxnet network object.

    node: layer
        Node to convert.

    model: model
        An model for MXNet

    builder: NeuralNetworkBuilder
        A neural network builder object.

def convert_scalar_add(net, node, model, builder):
    """Convert a scalar add layer from mxnet to coreml.

    Parameters
    ----------
    net: network
        A mxnet network object.

    node: layer
        Node to convert.

    model: model
        An model for MXNet

    builder: NeuralNetworkBuilder
        A neural network builder object.
    """
    import numpy as _np
    input_name, output_name = _get_input_output_name(net, node)
    name = node['name']
    param = _get_attr(node)
    mode = 'ADD'
    alpha = _np.array([float(param['scalar'])])
    builder.add_scale(name = name, input_name = input_name,
            output_name = output_name, W = _np.array([1.0]), b = alpha, has_bias=True)