Пример #1
0
def MomentumAdjustor(final_momentum, start, saturate):
    """
    Deprecated class used with the deprecated init_momentum argument.
    Use learning_rule.MomentumAdjustor instead.
    """
    warnings.warn("sgd.MomentumAdjustor interface is deprecated and will "
    "become officially unsupported as of May 9, 2014. Please use "
    "`learning_rule.MomentumAdjustor` instead.")
    return LRMomentumAdjustor(final_momentum, start, saturate)
Пример #2
0
def MomentumAdjustor(final_momentum, start, saturate):
    """
    .. todo::

        WRITEME
    """
    warnings.warn("sgd.MomentumAdjustor interface is deprecated and will "
                  "become officially unsuported as of May 9, 2014. Please use "
                  "`learning_rule.MomentumAdjustor` instead.")
    return LRMomentumAdjustor(final_momentum, start, saturate)