import tensorflow as tf

    return params, params

  def encode(self, x, encode_params):
    """See base class."""
    addend = dummy_rng_source(encode_params[self.SEED_PARAM_KEY],
                              x.shape.num_elements())
    addend = tf.reshape(addend, x.shape)
    return {self.ENCODED_VALUES_KEY: x + addend}

  def decode(self,
             encoded_tensors,
             decode_params,
