code: def __post_init__(self):
      super().__post_init__()
      assert self.activation in ["linear", "tanh", "elu"], (
          f"'{self.activation}' doesn't correspond to an activation handled by the model. "
          "Available activations ['linear', 'tanh', 'elu']"
      )
  
imports: from pydantic.dataclasses import dataclass
  from ..base import BaseNFConfig
label_desc: Use image node_id 1 for calling the PlanarFlowConfig obj's underlying member method code with example usage: obj.__post_init__() without return types