code: def __post_init__(self):
      super().__post_init__()
      assert (
          self.kernel_size % 2 == 1
      ), f"Wrong kernel size provided. The kernel size must be odd. Got {self.kernel_size}."
  
imports: from pydantic.dataclasses import dataclass
  from ..base import BaseSamplerConfig
label_desc: Use image node_id 1 for calling the PixelCNNSamplerConfig obj's underlying member method code with example usage: obj.__post_init__() without return types