I used the code below to calculate average on unencrypted tensor but finding hard to do on CKKS Tensor even though I know Tenseal only provide addition, subtraction and multiplication operations. Any help will be appreciated.
for grad_list_tuple in zip(*scaled_weight_list):
layer_mean = tf.math.reduce_mean(grad_list_tuple, axis=0)
I used the code below to calculate average on unencrypted tensor but finding hard to do on CKKS Tensor even though I know Tenseal only provide addition, subtraction and multiplication operations. Any help will be appreciated.
for grad_list_tuple in zip(*scaled_weight_list): layer_mean = tf.math.reduce_mean(grad_list_tuple, axis=0)