Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assert CompareGt NameLoad Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult BinOpMult SubscriptLoad NameLoad Index Num CompareLt Num SubscriptLoad NameLoad Index Num CompareLt SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call Call AttributeLoad NameLoad attr Str Str Str Str SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call Call AttributeLoad NameLoad attr Str Str Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Return TupleLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call Call NameLoad NameLoad NameLoad decorator_list
N/A chainer cuda chainer function chainer utils chainer.utils type_check N/A numpy ClippedReLU N/A N/A function Function N/A N/A Clipped Rectifier Unit function.

    Clipped ReLU is written as
    :math:`ClippedReLU(x, z) = \min(\max(0, x), z)`,
    where :math:`z(>0)` is a parameter to cap return value of ReLU.

     __init__ N/A N/A self z N/A N/A N/A N/A N/A isinstance z float N/A N/A N/A TypeError z must be float value N/A N/A z 0 N/A N/A self cap z N/A check_type_forward N/A N/A self in_types N/A N/A N/A N/A N/A type_check expect N/A N/A N/A in_types size 1 N/A N/A x_type in_types N/A N/A N/A type_check expect N/A N/A x_type dtype N/A numpy float32 N/A forward_cpu N/A N/A self x N/A N/A N/A N/A N/A N/A N/A N/A utils force_array N/A N/A numpy minimum N/A N/A numpy maximum 0 N/A x N/A 0 N/A self cap astype N/A numpy float32 N/A backward_cpu N/A N/A self x gy N/A N/A N/A N/A N/A N/A N/A N/A utils force_array N/A N/A N/A gy N/A 0 N/A 0 N/A x N/A 0 N/A N/A x N/A 0 N/A self cap astype N/A numpy float32 N/A forward_gpu N/A N/A self x N/A N/A N/A N/A N/A N/A N/A cuda elementwise T x, T cap T y y = min(max(x, (T)0), cap) clipped_relu_fwd N/A x N/A 0 N/A self cap N/A backward_gpu N/A N/A self x gy N/A N/A N/A gx N/A N/A N/A cuda elementwise T x, T gy, T z T gx gx = ((x > 0) & (x < z))? gy : 0 clipped_relu_bwd N/A x N/A 0 N/A gy N/A 0 N/A self cap N/A N/A gx N/A N/A clipped_relu N/A N/A x z N/A 20.0 N/A N/A Clipped Rectifier Unit function.

    This function is expressed as :math:`ClippedReLU(x, z)
    = \min(\max(0, x), z)`, where :math:`z(>0)` is a clipping value.

    Args:
        x (~chainer.Variable): Input variable.
        z (float): Clipping value. (default = 20.0)

    Returns:
        ~chainer.Variable: Output variable.

     N/A N/A N/A ClippedReLU z x N/A