original_docstring:  Define model's architecture configuration. See :meth: `~.TFModel.build_config` 
docstring: Define model's architecture configuration.
docstring_tokens: Define model ' s architecture configuration .
code: def build_config(self, names=None):
          """ Define model's architecture configuration. See :meth: `~.TFModel.build_config` """
          config = super().build_config(names)
          if isinstance(config['head/filters'], list):
              config['head/filters'][-1] = self.num_classes('targets')
          else:
              config['head/filters'] = self.num_classes('targets')
          return config
code_tokens: def build_config ( self , names = None ) : config = super ( ) . build_config ( names ) if isinstance ( config [ 'head/filters' ] , list ) : config [ 'head/filters' ] [ - 1 ] = self . num_classes ( 'targets' ) else : config [ 'head/filters' ] = self . num_classes ( 'targets' ) return config
short_docstring: Define model's architecture configuration.
short_docstring_tokens: Define model ' s architecture configuration .
comment: """ Define model's architecture configuration. See :meth: `~.TFModel.build_config` """