(builder, node, graph, err)
convert to CoreML Clip Layer:
    https://github.com/apple/coremltools/blob/655b3be5cc0d42c3c4fa49f0f0e4a93a26b3e492/mlmodel/format/NeuralNetwork.proto#L5066
convert to CoreML Clip Layer:
    https://github.com/apple/coremltools/blob/655b3be5cc0d42c3c4fa49f0f0e4a93a26b3e492/mlmodel/format/NeuralNetwork.proto#L5066
convert to CoreML Clip Layer : https : // github . com / apple / coremltools / blob / 655b3be5cc0d42c3c4fa49f0f0e4a93a26b3e492 / mlmodel / format / NeuralNetwork . proto#L5066
def _convert_clip(builder, node, graph, err):
    '''
    convert to CoreML Clip Layer:
    https://github.com/apple/coremltools/blob/655b3be5cc0d42c3c4fa49f0f0e4a93a26b3e492/mlmodel/format/NeuralNetwork.proto#L5066
    '''
    max_value = node.attrs.get('max', 3.4028234663852886e+38)
    min_value = node.attrs.get('min', -3.4028234663852886e+38)
    builder.add_clip(
        name=node.name,
        input_name=node.inputs[0],
        output_name=node.outputs[0],
        min_value=min_value,
        max_value=max_value
    )
def _convert_clip ( builder , node , graph , err ) : max_value = node . attrs . get ( 'max' , 3.4028234663852886e+38 ) min_value = node . attrs . get ( 'min' , - 3.4028234663852886e+38 ) builder . add_clip ( name = node . name , input_name = node . inputs [ 0 ] , output_name = node . outputs [ 0 ] , min_value = min_value , max_value = max_value )