code: def __post_init_post_parse__(self) -> None:
      assert (
          sum(map(lambda x: int(bool(x)), asdict(self).values())) <= 1
      ), f"More than one option set {self}"
  
imports: from dataclasses import asdict
  from typing import List, Optional
  import torch
  import torch.nn
  from reagent.core.dataclasses import dataclass, field
  from reagent.core.parameters import param_hash
  from reagent.models.base import ModelBase
  from reagent.models.fully_connected_network import FullyConnectedNetwork
  from reagent.models.mlp_scorer import MLPScorer
  from reagent.net_builder.slate_ranking_net_builder import SlateRankingNetBuilder
label_desc: Use image node_id 1 for calling the FinalLayer obj's underlying member method code with example usage: obj.__post_init_post_parse__() without return types