Peter HIRT
Peter HIRT

Reputation: 741

Tensorflow Documentation

I am increasingly irritated and frustrated by the Tensorflow documentation. I searched on google for documentation regarding

tf.reshape

I'm getting directed to a generic page like here. I want to see the details of tf.reshape and not the entirety of the documentation.

Am I doing something wrong here?

Upvotes: 33

Views: 5221

Answers (10)

Anton Panchishin
Anton Panchishin

Reputation: 3763

Since Tensorflow r1.1 a search on google for items like 'tf.shape' now lists the appropriate page at the top of the search results.

This didn't work back in r0.10 and r0.11, maybe because there were many markdown formatting issues in the Tensorflow docs themselves.

Upvotes: 1

Patwie
Patwie

Reputation: 4450

The probably fastest way is to use the Tf documentation is: http://devdocs.io/tensorflow~python/

Just type tf.reshape and you are done. which can be also used offline and automatically updates the docs.

edit: even typing only res shows you the documentation.

Upvotes: 4

Shamane Siriwardhana
Shamane Siriwardhana

Reputation: 4201

Since you tf is developing best way is to go through the tf API. And it's good if you can follow these slides in http://web.stanford.edu/class/cs20si/

Upvotes: 0

Aman Rana
Aman Rana

Reputation: 11

You can use the url for tensorflow documentation and add what you want to search..

The base url is: https://www.tensorflow.org/api_docs/python/tf/

You can add what_ever_you_want_to_search after the /

Upvotes: 1

bxshi
bxshi

Reputation: 2292

I would suggest you use the GitHub repo as your documentation instead. https://github.com/tensorflow/tensorflow/tree/master/tensorflow/g3doc/api_docs/python/functions_and_classes

For example tf.reshape is in a single Markdown file https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.reshape.md

To search for the document you want, you could use the GitHub search under that functions_and_classes folder.

An example is

tf.reshape() path:tensorflow/g3doc/api_docs/python/functions_and_classes language:Markdown

https://github.com/tensorflow/tensorflow/search?utf8=✓&q=tf.reshape%28%29+path%3Atensorflow%2Fg3doc%2Fapi_docs%2Fpython%2Ffunctions_and_classes+language%3AMarkdown&type=Code

which search for tf.reshape() under the documentation folder.

Upvotes: 3

gunan
gunan

Reputation: 927

Update for posterity: With the new TensorFlow, the website is now indexed with Google, and it should also soon be indexed by other search engines.

Upvotes: 3

LI Xuhong
LI Xuhong

Reputation: 2356

I suppose that you have installed tensorflow in your computer and that you know the name of function that you may want to use.

So if you use some Python IDE, I think you can directly jump to the declaration or definition of this function and see the usage and explanation. That is the same documentation as online (although for some functions it is not very clear).

Upvotes: 1

Andrzej Pronobis
Andrzej Pronobis

Reputation: 36076

I use the non-official Dash/Zeal docset for TensorFlow:

https://github.com/ppwwyyxx/dash-docset-tensorflow

It is a very convenient way of browsing the TensorFlow documentation offline and it solves the problem you are describing.

Upvotes: 2

nessuno
nessuno

Reputation: 27042

Do not Google about Tensorflow documentation, use the TensorFlow Python reference documentation and ctrl + f

Upvotes: 32

lapolonio
lapolonio

Reputation: 1147

Is this what you are looking for? Using the search functionality of the browser helped me find it.

Upvotes: 1

Related Questions