class_docstr: Parameters for comparator combiner.
class_docstr_tok: ["Parameters","for","comparator","combiner","."]
code: def __post_init__(self):
      if self.num_fc_layers == 0 and self.fc_layers is None:
          raise ConfigValidationError(
              "`combiner.type=comparator` requires at least one fully connected layer. "
              "Set `num_fc_layers > 0` or `fc_layers`."
          )
  
      if not self.entity_1:
          raise ConfigValidationError(
              "`combiner.entity_1` is required and must contain as least one input feature name."
          )
  
      if not self.entity_2:
          raise ConfigValidationError(
              "`combiner.entity_2` is required and must contain as least one input feature name."
          )
  
file_path: ludwig/ludwig/schema/combiners/comparator.py
imports: from typing import Any, Dict, List, Optional, Union
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.error import ConfigValidationError
  from ludwig.schema import common_fields
  from ludwig.schema import utils
  from ludwig.schema.combiners.base import BaseCombinerConfig
  from ludwig.schema.combiners.utils import register_combiner_config
  from ludwig.schema.metadata import COMBINER_METADATA
  from ludwig.schema.utils import ludwig_dataclass
label_desc: Use image node_id 1 for calling the ComparatorCombinerConfig obj's underlying member method code with example usage: obj.__post_init__() without return types