def genEltwiseLayer(train_val, name, bottom_1, bottom_2, operation='SUM'):
    layer_str = '\nlayer {{\n  name: "{name}"\n  type: "Eltwise"\n  bottom: "{bottom_1}"\n  bottom: "{bottom_2}"\n  top: "{top}"\n  eltwise_param {{\n    operation: {operation}\n  }}\n}}'.format(name=name, top=name, bottom_1=bottom_1, bottom_2=bottom_2, operation=operation)
    train_val += layer_str
    return (train_val, name)
def genEltwiseLayer(train_val, name, bottom_1, bottom_2, operation='SUM'):
    layer_str = '\nlayer {{\n  name: "{name}"\n  type: "Eltwise"\n  bottom: "{bottom_1}"\n  bottom: "{bottom_2}"\n  top: "{top}"\n  eltwise_param {{\n    operation: {operation}\n  }}\n}}'.format(name=name, top=name, bottom_1=bottom_1, bottom_2=bottom_2, operation=operation)
    train_val += layer_str
    return (train_val, name)