def genBnReluLayer(train_val, name, bottom, activation_type='ReLU'):
    (train_val, last_top) = genBNLayer(train_val=train_val, name='{name}bn'.format(name=name), bottom=bottom, top='{name}bn'.format(name=name))
    (train_val, last_top) = genActivationLayer(train_val=train_val, name='{name}relu'.format(name=name), bottom=last_top, type=activation_type)
    return (train_val, last_top)
def genBnReluLayer(train_val, name, bottom, activation_type='ReLU'):
    (train_val, last_top) = genBNLayer(train_val=train_val, name='{name}bn'.format(name=name), bottom=bottom, top='{name}bn'.format(name=name))
    (train_val, last_top) = genActivationLayer(train_val=train_val, name='{name}relu'.format(name=name), bottom=last_top, type=activation_type)
    return (train_val, last_top)