# Path: minos/model/parameter.py
# def int_param(lo=0, hi=100, default=None, values=None, optional=False):
#     return Parameter(
#         int,
#         lo=lo,
#         hi=hi,
#         values=values,
#         default=default,
#         optional=optional)
# 
# def string_param(values, default=None, optional=False, mutable=True):
#     return Parameter(
#         str,
#         values=values,
#         default=default,
#         optional=optional,
#         mutable=mutable)
# 
# def boolean_param(default=None, optional=False):
#     return Parameter(
#         bool,
#         (True, False),
#         default=default,
#         optional=optional)
# 
# def float_param(lo=0., hi=1., default=None, values=None, optional=False):
#     return Parameter(
#         float,
#         lo=lo,
#         hi=hi,
#         values=values,
#         default=default,
#         optional=optional)


from minos.model.parameter import int_param, string_param, boolean_param,\
    float_param
                 'linear'],
                default='relu'),
            'bias': boolean_param(default=True),
            'W_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'b_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'activity_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'W_constraint': string_param(
                ['maxnorm', 'nonneg', 'unitnorm'],
                default=None,
                optional=True),
            'b_constraint': string_param(
                ['maxnorm', 'nonneg', 'unitnorm'],
                default=None,
                optional=True)
        },
        'Dropout': {
            'p': float_param(default=0.75)},
        'Merge': {
            'mode': string_param(
                ['sum', 'mul', 'concat', 'ave', 'cos', 'dot', 'max'],
                default='concat',
                mutable=False)},
        'BatchNormalization': {
            'epsilon': float_param(default=0.001),

# Path: minos/model/parameter.py
# def int_param(lo=0, hi=100, default=None, values=None, optional=False):
#     return Parameter(
#         int,
#         lo=lo,
#         hi=hi,
#         values=values,
#         default=default,
#         optional=optional)
# 
# def string_param(values, default=None, optional=False, mutable=True):
#     return Parameter(
#         str,
#         values=values,
#         default=default,
#         optional=optional,
#         mutable=mutable)
# 
# def boolean_param(default=None, optional=False):
#     return Parameter(
#         bool,
#         (True, False),
#         default=default,
#         optional=optional)
# 
# def float_param(lo=0., hi=1., default=None, values=None, optional=False):
#     return Parameter(
#         float,
#         lo=lo,
#         hi=hi,
#         values=values,
#         default=default,
#         optional=optional)


# Path: minos/model/parameters.py
from minos.model.parameter import int_param, string_param, boolean_param,\
    float_param

                 'linear'],
                default='relu'),
            'bias': boolean_param(default=True),
            'W_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'b_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'activity_regularizer': {
                'l1': float_param(optional=True, default=None),
                'l2': float_param(optional=True, default=None)},
            'W_constraint': string_param(
                ['maxnorm', 'nonneg', 'unitnorm'],
                default=None,
                optional=True),
            'b_constraint': string_param(
                ['maxnorm', 'nonneg', 'unitnorm'],
                default=None,
                optional=True)
        },
        'Dropout': {
            'p': float_param(default=0.75)},
        'Merge': {
            'mode': string_param(
                ['sum', 'mul', 'concat', 'ave', 'cos', 'dot', 'max'],
                default='concat',
                mutable=False)},
        'BatchNormalization': {
            'epsilon': float_param(default=0.001),

            'momentum': float_param(default=0.99),