message: Getting rid of some spurious deprecation warnings generated.
diff: @@ -4246,16 +4246,14 @@ class IndicatorColumn(
  """See `FeatureColumn` base class."""
  return '{}_indicator'.format(self.categorical_column.name)
  - def _transform_id_weight_pair(self, id_weight_pair):
  + def _transform_id_weight_pair(self, id_weight_pair, size):
  id_tensor = id_weight_pair.id_tensor
  weight_tensor = id_weight_pair.weight_tensor
  # If the underlying column is weighted, return the input as a dense tensor.
  if weight_tensor is not None:
  weighted_column = sparse_ops.sparse_merge(
  - sp_ids=id_tensor,
  - sp_values=weight_tensor,
  - vocab_size=int(self._variable_shape[-1]))
  + sp_ids=id_tensor, sp_values=weight_tensor, vocab_size=int(size))
  # Remove (?, -1) index.
  weighted_column = sparse_ops.sparse_slice(weighted_column, [0, 0],
  weighted_column.dense_shape)
  @@ -4271,10 +4269,7 @@ class IndicatorColumn(
  # One hot must be float for tf.concat reasons since all other inputs to
  # input_layer are float32.
  one_hot_id_tensor = array_ops.one_hot(
  - dense_id_tensor,
  - depth=self._variable_shape[-1],
  - on_value=1.0,
  - off_value=0.0)
  + dense_id_tensor, depth=size, on_value=1.0, off_value=0.0)
  # Reduce to get a multi-hot per example.
  return math_ops.reduce_sum(one_hot_id_tensor, axis=[-2])
  @@ -4296,13 +4291,15 @@ class IndicatorColumn(
  """
  id_weight_pair = self.categorical_column.get_sparse_tensors(
  transformation_cache, state_manager)
  - return self._transform_id_weight_pair(id_weight_pair)
  + return self._transform_id_weight_pair(id_weight_pair,
  + self.variable_shape[-1])
  @deprecation.deprecated(_FEATURE_COLUMN_DEPRECATION_DATE,
  _FEATURE_COLUMN_DEPRECATION)
  def _transform_feature(self, inputs):
  id_weight_pair = self.categorical_column._get_sparse_tensors(inputs) # pylint: disable=protected-access
  - return self._transform_id_weight_pair(id_weight_pair)
  + return self._transform_id_weight_pair(id_weight_pair,
  + self._variable_shape[-1])
  @property
  def parse_example_spec(self):
  