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

Documentation Issue - from_keras_model function

Barathwaja opened this issue · comments

Describe the bug
The latest API documentation states that from_keras_model is accessible from tff.learning.models but some of the pages still uses old way approach via tff.learning (i.e tff.learning.from_keras_model) instead of tff.learning.models.from_keras_model.

API Documentation - https://www.tensorflow.org/federated/api_docs/python/tff/learning/models/from_keras_model
Bug Pages - https://www.tensorflow.org/federated/tutorials/loading_remote_data

Expected behavior
This is where it should be imported as tff.learning.models.from_keras_model

Screenshot
Attached screenshot below:
image

Thanks @Barathwaja! That tutorial looks stale. I'll try to have it updated today.

@zcharles8 I can update and make a PR if that's is the only change needed.

As it turns out, this tutorial was already deleted, as it is stale. However, we are blocked on releasing a new TFF version until we figure out some compatibility issues, and the TF docs won't update until that happens. Marking this as resolved as a result.