set_layer_attr