def __setitem__(self, slice_: Any, data: np.ndarray) -> None:
if type(slice_) is str:<EOL><INDENT>self.layers[slice_] = data<EOL><DEDENT>else:<EOL><INDENT>self.layers["<STR_LIT>"][slice_] = data<EOL><DEDENT>
Assign a slice of the main matrix.

Args:
        slice_:		A slice object (see http://docs.h5py.org/en/latest/high/dataset.html), or np.ndarray, or int
        data:		A matrix corresponding to the slice, of the same datatype as the main matrix

Returns:
        Nothing.