old_contents: # Copyright 2018, The TensorFlow Federated Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #      http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  """Utility classes/functions built on top of TensorFlow Federated Core API.
  
  All components that depend on utils should import symbols from this file rather
  than directly importing individual modules. For this reason, the visibility for
  the latter is set to private and should remain such. The code in utils must not
  depend on implementation classes. It should be written against the Core API.
  """
  
  from tensorflow_federated.python.core.utils.adaptive_zeroing import build_adaptive_zeroing_mean_process
  from tensorflow_federated.python.core.utils.computation_utils import StatefulAggregateFn
  from tensorflow_federated.python.core.utils.computation_utils import StatefulBroadcastFn
  from tensorflow_federated.python.core.utils.computation_utils import update_state
  from tensorflow_federated.python.core.utils.differential_privacy import build_dp_aggregate
  from tensorflow_federated.python.core.utils.differential_privacy import build_dp_query
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_broadcast
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_broadcast_process
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_mean
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_mean_process
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_sum
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_sum_process
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_max
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_min
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_sample
  from tensorflow_federated.python.core.utils.tf_computation_utils import assign
  from tensorflow_federated.python.core.utils.tf_computation_utils import create_variables
  from tensorflow_federated.python.core.utils.tf_computation_utils import identity
  
new_contents: # Copyright 2018, The TensorFlow Federated Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #      http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  """Utility classes/functions built on top of TensorFlow Federated Core API.
  
  All components that depend on utils should import symbols from this file rather
  than directly importing individual modules. For this reason, the visibility for
  the latter is set to private and should remain such. The code in utils must not
  depend on implementation classes. It should be written against the Core API.
  """
  
  from tensorflow_federated.python.core.utils.adaptive_zeroing import build_adaptive_zeroing_mean_process
  from tensorflow_federated.python.core.utils.computation_utils import StatefulAggregateFn
  from tensorflow_federated.python.core.utils.computation_utils import StatefulBroadcastFn
  from tensorflow_federated.python.core.utils.computation_utils import update_state
  from tensorflow_federated.python.core.utils.differential_privacy import build_dp_aggregate
  from tensorflow_federated.python.core.utils.differential_privacy import build_dp_aggregate_process
  from tensorflow_federated.python.core.utils.differential_privacy import build_dp_query
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_broadcast
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_broadcast_process
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_mean
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_mean_process
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_sum
  from tensorflow_federated.python.core.utils.encoding_utils import build_encoded_sum_process
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_max
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_min
  from tensorflow_federated.python.core.utils.federated_aggregations import federated_sample
  from tensorflow_federated.python.core.utils.tf_computation_utils import assign
  from tensorflow_federated.python.core.utils.tf_computation_utils import create_variables
  from tensorflow_federated.python.core.utils.tf_computation_utils import identity
  
subject: Add build_dp_aggregate_process to public symbols.