google-parfait / tensorflow-federated

An open-source framework for machine learning and other computations on decentralized data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

@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.