code: def __post_init__(self):
      super().__post_init__()
      if self.use_ema:
          assert 0 <= self.decay <= 1, (
              "The decay in the EMA update must be in [0, 1]. "
              f"Got {self.decay}."
          )
  
imports: from pydantic.dataclasses import dataclass
  from ..ae import AEConfig
label_desc: Use image node_id 1 for calling the VQVAEConfig obj's underlying member method code with example usage: obj.__post_init__() without return types