Skip to content

Commit

Permalink
Doc: mention hub.resolve() in caching.md.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 353885024
  • Loading branch information
TensorFlow Hub Authors authored and copybara-github committed Jan 26, 2021
1 parent ddc8d92 commit 8f7a908
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ models. By default, a model is downloaded as a compressed archive and cached on
disk. Secondly, models can directly be read from remote storage into TensorFlow.
Either way, the calls to `tensorflow_hub` functions in the actual Python code
can and should continue to use the canonical tfhub.dev URLs of models, which are
portable across systems and navigable for documentation.
portable across systems and navigable for documentation. In the rare case that
user code needs the actual filesystem location (after downloading and
decompressing, or after resolving a model handle into a filesystem path),
it can be obtained by the function `hub.resolve(handle)`.

### Caching of compressed downloads

Expand Down

0 comments on commit 8f7a908

Please sign in to comment.