What is the refactored name of `federated_output_computation`?
mahimairaja opened this issue · comments
I could see that federated_output_computation
is depreciated. So what could I use instead of this?
@mahimairaja Can you clarify what part of the API you're referring to?
I am mentioning the function that has depreciated in the previous version - https://github.com/tensorflow/federated/blob/846d00939ff87d675942a52182b65babdecdf4aa/RELEASE.md?plain=1#L1036
@zcharles8 Can you help me with this?
As the release notes say, you should use report_local_unfinalized_metrics
and metric_finalizers
now instead if you're directly subclassing tff.learning.models.VariableModel
.
However, if you use tff.learning.models.from_keras_model
then this is taken care of for you.
@mahimairaja I believes this answers the question in the original github issue, so I'm marking this as resolved.