@@ -0,0 +1,703 @@
+import numpy%0A%0Afrom chainer import cuda%0Afrom chainer import function%0Afrom chainer.utils import type_check%0A%0A%0Aclass Clip(function.Function):%0A    %22%22%22Clips (limits) elements of input variable.%22%22%22%0A%0A    def __init__(self, x_min, xmax):%0A        raise NotImplementedError()%0A%0A%0Adef clip(x, x_min, x_max):%0A    %22%22%22Clips (limits) elements of input variable.%0A%0A    Given an interval %60%60%5Bx_min, xmax%5D%60%60, elements outside the interval are%0A    clipped to the interval edges.%0A%0A    Args:%0A        x (~chainer.Variable): Input variable to be clipped.%0A        x_min (float): Minimum value.%0A        x_max (float): Maximum value.%0A%0A    Returns:%0A        ~chainer.Variable: Output variable.%0A%0A    %22%22%22%0A    return Clip(x_min, x_max)(x)%0A

Add file for clip function.