Creates a layer from an index in the bit set. The index must be between 0 and 32 inclusive.
Creates a layer from a raw integer value. The integer must have exactly one bit set.