Commit Graph

29 Commits

Author SHA1 Message Date
Mark Daoust
468288f3b6 simplify _toc.yaml generation
PiperOrigin-RevId: 209439461
2018-08-20 10:31:22 -07:00
Mark Daoust
cb11b60da0 Add redirects to point api duplicates to the canonical doc location.
PiperOrigin-RevId: 205276722
2018-07-19 11:56:21 -07:00
Mark Daoust
cd462f39e5 Don't delete inbound_nodes and outbound_nodes, these no longer exist.
PiperOrigin-RevId: 193679512
2018-04-20 09:34:01 -07:00
A. Unique TensorFlower
931268a690 Clean up properties of layers.Layer:
* Make `activity_regularizer` a real read-only property settable by
  the constructor.
* Make `name` a read-only property instead of mutable.
* Make `inbound_nodes`, `outbound_nodes`, `batch_input_shape` private.

Also: Update the documentation of Layer to indicate that it is stable,
and include guidance for how to use it.
PiperOrigin-RevId: 170777368
2017-10-02 17:03:09 -07:00
Charles Nicholson
8e5041918f Introduce TFDecorator, a base class for Python TensorFlow decorators. Provides basic introspection and "unwrap" services, allowing tooling code to fully 'understand' the wrapped object.
Change: 153854044
2017-04-21 12:09:42 -07:00
Mark Daoust
95c5d7e880 Generalize LazyLoader for use by ffmpeg
Add __dir__ method so the docs generator doesn't need to
 do anything special to activate the loading
Change: 153583515
2017-04-19 07:29:05 -07:00
A. Unique TensorFlower
f864d89ead Doc generator refactoring.
Change: 149127634
2017-03-03 10:47:49 -08:00
A. Unique TensorFlower
b5295c9d40 Make doc's generate.py into a library.
Change: 148513339
2017-02-24 16:09:33 -08:00
A. Unique TensorFlower
afa4e25f4f Seal contrib.distributions.bijector.
Change: 148363537
2017-02-23 11:25:14 -08:00
A. Unique TensorFlower
eabdedd1ae Refactor doc generator to extract class ReferenceResolver.
Change: 148284712
2017-02-22 16:56:27 -08:00
A. Unique TensorFlower
11b077369e Update docs.
Change: 148274850
2017-02-22 15:29:57 -08:00
Olivia Nordquist
7a1e163cbb Task 6: sealing up bayesflow.{entropy, monte_carlo, variational_inference}
Change: 147778589
2017-02-16 16:03:41 -08:00
A. Unique TensorFlower
07b87114d9 Avoid more 'Modules nested too deep' errors.
Change: 147561890
2017-02-14 22:35:02 -08:00
A. Unique TensorFlower
872a4200f3 Fix for:
RuntimeError: Modules nested too deep:
contrib.graph_editor.reroute.subgraph.select.tf_ops.dtypes.np.core.fromnumeric.mu
Change: 147558652
2017-02-14 21:32:21 -08:00
A. Unique TensorFlower
c66e083567 Generate table of contents .yaml.
Change: 147539687
2017-02-14 17:09:14 -08:00
Andrew Selle
d96c3b7d40 Fix documentation and guide for graph_editor
-Seal and expose reroute
-Remove unavailable aliases from guide
Change: 147429891
2017-02-13 21:05:19 -08:00
A. Unique TensorFlower
582fc4a3bc Fix broken links for unsealed contrib API guides
contrib.learn.monitors will not have an API guide, since it is deprecated and unsealed.

Fixes sealing for tf.contrib.training.
Change: 147424947
2017-02-13 19:28:31 -08:00
Andrew Selle
78c491caaf Seal ffmpeg interface and fix document generator to use ffmpeg build target.
Change: 147420392
2017-02-13 18:31:32 -08:00
A. Unique TensorFlower
8a97f8a4b6 De-duplicate header id's by using explicit <h> tags.
Change: 147416710
2017-02-13 17:58:23 -08:00
Martin Wicke
f869fb0e58 Add tf_debug docs. Seal debugger API.
Change: 147395124
2017-02-13 17:12:50 -08:00
A. Unique TensorFlower
e6c776d5e1 Misc doc generator changes.
* Consistently use <a id="..."/> for anchors.
* Repeat all the errors at the end.
* Fix bug in replacing references in non-api docs.
Change: 147259560
2017-02-11 17:06:48 -08:00
A. Unique TensorFlower
ff2d9e99ba Add linking to methods, and warnings for links to things that are not
in the index.

This CL creates an overabundance of tags on class pages, but that
doesn't hurt as long as we know ours. Demo reference to class field
(tf.GraphKeys.REGULARIZATION_LOSSES) is in get_variable.md.
Change: 147257988
2017-02-11 16:12:33 -08:00
A. Unique TensorFlower
5e63369362 Allow generating docs to a non-empty directory.
Change: 147255415
2017-02-11 14:29:51 -08:00
A. Unique TensorFlower
196ce75c99 More doc generator changes.
Change: 147249420
2017-02-11 10:27:02 -08:00
A. Unique TensorFlower
4fe9688221 Link to the relevant Python API guide section from the API reference.
Change: 147101228
2017-02-09 17:29:55 -08:00
Martin Wicke
3414c1ebab Use tf. for all symbols.
Change base_dir to exclude tensorflow/.

Improve the doc generator's handling of defaults in argument lists. Use an index to look up the preferred name for objects that are passed around as defaults which has a canonical TensorFlow name. Use ast and codegen to reproduce what was in the actual code for everything else.

Also simplify @{} replace logic.
Change: 146750326
2017-02-06 22:28:50 -08:00
Shanqing Cai
416887f8ac Further py3 fix in tools/docs
Change: 146325723
2017-02-01 21:30:07 -08:00
Martin Wicke
667bf9879f Doc generator fixes:
- enable contrib
- show __init__
- remove core.protobuf module
- fix bug in _get_arg_spec
- hide contrib.learn.head
Change: 146265365
2017-02-01 11:23:03 -08:00
Martin Wicke
d33692e9cc Make a better doc generator.
Change: 146177492
2017-01-31 16:08:22 -08:00