# w6

### w6(\*, axis=0, group_size=16)

6-bit palettization, per-grouped-channel, group_size defaults to 16.

* **Parameters:**
  * **axis** (*int*) – Channel axis to group along. Defaults to 0.
  * **group_size** (*int*) – Number of channels per palette group.
* **Returns:**
  6-bit palettization module configuration.
* **Return type:**
  [ModuleKMeansPalettizerConfig](coreai_opt.palettization.ModuleKMeansPalettizerConfig.md#coreai_opt.palettization.ModuleKMeansPalettizerConfig)
