def set_layer(self, name: str, matrix: np.ndarray, chunks: Tuple[int, int] = (<NUM_LIT:64>, <NUM_LIT:64>), chunk_cache: int = <NUM_LIT>, dtype: str = "<STR_LIT>", compression_opts: int = <NUM_LIT:2>) -> None:
deprecated("<STR_LIT>")<EOL>self.layers[name] = matrix<EOL>
**DEPRECATED** - Use `ds.layer.Name = matrix` or `ds.layer[`Name`] = matrix` instead