tensorflow_federated/python/aggregators/rotation.py [132:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          seed -= 1
        return tensor

      seeds = _unique_seeds_for_struct(
          value, global_seed, stride=self._num_repeats)
      value = tf.nest.map_structure(transform, value, seeds)
      return tf.nest.map_structure(_slice_and_reshape_to_template_spec, value,
                                   value_specs)

    @computations.federated_computation()
    def init_fn():
      inner_state = inner_agg_process.initialize()
      my_state = intrinsics.federated_eval(
          computations.tf_computation(_init_global_seed), placements.SERVER)
      return intrinsics.federated_zip((inner_state, my_state))

    @computations.federated_computation(init_fn.type_signature.result,
                                        computation_types.at_clients(value_type)
                                       )
    def next_fn(state, value):
      next_fn_impl = _build_next_fn(client_transform, inner_agg_process,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tensorflow_federated/python/aggregators/rotation.py [257:277]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          seed -= 1
        return tensor

      seeds = _unique_seeds_for_struct(
          value, global_seed, stride=self._num_repeats)
      value = tf.nest.map_structure(transform, value, seeds)
      return tf.nest.map_structure(_slice_and_reshape_to_template_spec, value,
                                   value_specs)

    @computations.federated_computation()
    def init_fn():
      inner_state = inner_agg_process.initialize()
      my_state = intrinsics.federated_eval(
          computations.tf_computation(_init_global_seed), placements.SERVER)
      return intrinsics.federated_zip((inner_state, my_state))

    @computations.federated_computation(init_fn.type_signature.result,
                                        computation_types.at_clients(value_type)
                                       )
    def next_fn(state, value):
      next_fn_impl = _build_next_fn(client_transform, inner_agg_process,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



