Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body 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 decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr BinOpDiv Num BinOpSub Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr orelse Assign NameStore CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult NameLoad NameLoad Return TupleLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return TupleLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str If NameLoad body Return Call Call NameLoad NameLoad NameLoad Return NameLoad decorator_list
N/A N/A numpy chainer cuda chainer function chainer.utils type_check Dropout N/A N/A function Function N/A N/A Dropout regularization. __init__ N/A N/A self dropout_ratio N/A N/A N/A N/A self dropout_ratio dropout_ratio N/A check_type_forwrad 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 forward N/A N/A self x N/A N/A N/A scale N/A N/A N/A N/A x N/A 0 dtype type N/A 1.0 N/A 1 N/A self dropout_ratio N/A xp N/A N/A cuda get_array_module x N/A N/A xp numpy N/A N/A flag N/A N/A N/A N/A xp random rand N/A N/A x N/A 0 shape N/A self dropout_ratio N/A N/A flag N/A N/A N/A N/A xp random rand dtype N/A numpy float32 N/A N/A x N/A 0 shape N/A self dropout_ratio N/A N/A self mask N/A scale flag N/A N/A N/A N/A x N/A 0 N/A self mask N/A backward N/A N/A self x gy N/A N/A N/A N/A N/A N/A gy N/A 0 N/A self mask N/A N/A dropout N/A N/A x ratio train N/A 0.5 True N/A N/A Drops elements of input variable randomly.

    This function drops input elements randomly with probability ``ratio`` and
    scales the remaining elements by factor ``1 / (1 - ratio)``. In testing
    mode, it does nothing and just returns ``x``.

    Args:
        x (~chainer.Variable): Input variable.
        ratio (float): Dropout ratio.
        train (bool): If ``True``, executes dropout. Otherwise, does nothing.

    Returns:
        ~chainer.Variable: Output variable.

    See the paper by G. Hinton: `Improving neural networks by preventing     co-adaptation of feature detectors <http://arxiv.org/abs/1207.0580>`_.

     N/A train N/A N/A N/A N/A Dropout ratio x N/A x N/A