You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method/class templates in documentation should include a full, functioning path to the method instead of just truncating to the method's name.
I.e. this is what we have at present (bad):
This is a more practical and copy/paste-friendly version:
I'm constantly just grabbing method templates, pasting to my text editor and then coming back to docs to copy/paste the package path which is now the header of the page; which is an awful workflow.
This is an easy fix, and clear win for regular functions.
It's probably better not to change this for methods. Adding the path to the class, on each method signature seems like unnecessary noise, since you rarely do a direct lookup of the method:
Activity
aselle commentedon Jan 16, 2018
@wolffg, could you consider this feature req. Thanks for the suggestion @aidangomez.
MarkDaoust commentedon Jan 17, 2018
This is an easy fix, and clear win for regular functions.
It's probably better not to change this for methods. Adding the path to the class, on each method signature seems like unnecessary noise, since you rarely do a direct lookup of the method:
get_collection(...)
tf.Graph.get_collection(...)
get_name_scope(...)
tf.Graph.get_name_scope(...)
WDYT?
aidangomez commentedon Jan 17, 2018
Agreed. That's an important distinction.
MarkDaoust commentedon Jan 18, 2018
Fix inflight.
tensorflowbutler commentedon Jan 23, 2018
A member of the TensorFlow organization has replied after the stat:awaiting tensorflower label was applied.