def genFCLayer(train_val, name, bottom, num_output, filler='gaussian'):
    layer_str = '\nlayer {{\n  name: "{name}"\n  type: "InnerProduct"\n  bottom: "{bottom}"\n  top: "{top}"\n  inner_product_param {{\n    num_output: {num_output}\n    weight_filler {{\n      type: "{weight_filler_type}"\n      std: 0.01\n    }}\n    bias_filler {{\n      type: "constant"\n      value: 0\n    }}\n  }}\n}}'.format(name=name, top=name, bottom=bottom, num_output=num_output, weight_filler_type=filler)
    train_val += layer_str
    return (train_val, name)
def genFCLayer(train_val, name, bottom, num_output, filler='gaussian'):
    layer_str = '\nlayer {{\n  name: "{name}"\n  type: "InnerProduct"\n  bottom: "{bottom}"\n  top: "{top}"\n  inner_product_param {{\n    num_output: {num_output}\n    weight_filler {{\n      type: "{weight_filler_type}"\n      std: 0.01\n    }}\n    bias_filler {{\n      type: "constant"\n      value: 0\n    }}\n  }}\n}}'.format(name=name, top=name, bottom=bottom, num_output=num_output, weight_filler_type=filler)
    train_val += layer_str
    return (train_val, name)