Versions with this page:
Versions without this page:
Sets the weight of the layer at the given index.