A. Unique TensorFlower
985ad0276a
PY2 removal cleanup
...
PiperOrigin-RevId: 352907145
Change-Id: I82de30d92dc9c2b53215d6d5732c67afe339c23d
2021-01-20 17:11:44 -08:00
A. Unique TensorFlower
034633f23b
PY2 removal cleanup
...
PiperOrigin-RevId: 352106691
Change-Id: I382d53c64f0d29da430b8cb6d2395a2cb281509e
2021-01-15 16:48:57 -08:00
Yanhua Sun
2800f688ff
Add python/lib BUILD and refactor python/BUILD
...
PiperOrigin-RevId: 346841489
Change-Id: Id8c9e27ccf012c7b9668e7fd56d5d97d3ff09370
2020-12-10 12:42:17 -08:00
A. Unique TensorFlower
03bc963659
BUILD file cleanup
...
PiperOrigin-RevId: 334697755
Change-Id: I34b8a6d19c5e3733314707de345a891944657ce0
2020-09-30 16:08:07 -07:00
Karmel Allison
18ebe824d2
Replace instances of "blacklist" with "denylist" where possible. See Google Developer guidelines at https://developers.google.com/style/word-list#blacklist for more information.
...
PiperOrigin-RevId: 322242499
Change-Id: I66ea33f87811bbc734f538029d806240da91130f
2020-07-20 16:05:25 -07:00
Dan Moldovan
7151e14479
Additional overrides for Generic and its metaclass.
...
PiperOrigin-RevId: 319887689
Change-Id: I5db9d18649f69dabcc234ab0b00ad452537a828f
2020-07-06 17:30:25 -07:00
Anna R
5498a3cb12
First step towards reducing the size of python/__init__.py.
...
API generation has been relying on python/__init__.py to look for modules with @tf_export decorators. Now, modules_with_exports.py should be used to specify modules to scan instead.
PiperOrigin-RevId: 314177907
Change-Id: I13460b5db55d4e56dd810106086ecb2aeca69a6b
2020-06-01 12:27:35 -07:00
Francois Chollet
756ba9c87e
Reintroduce API compatibility checks for Keras Preprocessing and Keras
...
applications.
Export `tf.keras.preprocessing.image_dataset_from_directory` and
`tf.keras.preprocessing.timeseries_dataset_from_array` to the public API.
PiperOrigin-RevId: 305362523
Change-Id: Id131d4286b3b444ed1a38e2b11a9bd74fca83390
2020-04-07 16:24:41 -07:00
Hye Soo Yang
c396546ca3
PY3 Migration - //tensorflow/tools [2]
...
PiperOrigin-RevId: 275334989
Change-Id: Ia0b660e7ce7cde8e97f8d7cb3a39afe7fec63a7f
2019-10-17 14:18:30 -07:00
Anna R
d82a2bbf8a
Remove non-public module removals from api_template files. Instead, these
...
deletions are now applied in virtual_root_template.
PiperOrigin-RevId: 267071525
2019-09-03 20:29:45 -07:00
A. Unique TensorFlower
69feb7e97d
Adjust structure of all BUILD files to recommended style ( https://docs.bazel.build/versions/master/skylark/build-style.html#file-structure ), moving loads to top.
...
PiperOrigin-RevId: 252072215
2019-06-07 11:35:53 -07:00
A. Unique TensorFlower
4469ed4ed8
Apply 'buildozer fix moveLicensesAndDistribs movePackageToTop' to all BUILD files.
...
PiperOrigin-RevId: 249807024
2019-05-24 03:53:05 -07:00
Gunhan Gulsoy
e398671f08
n/a
...
PiperOrigin-RevId: 247625736
2019-05-10 11:43:01 -07:00
Jiri Simsa
39934c956a
Automated rollback of commit cfda101ca1
...
PiperOrigin-RevId: 244915689
2019-04-23 15:48:12 -07:00
A. Unique TensorFlower
cfda101ca1
n/a
...
PiperOrigin-RevId: 244896090
2019-04-23 15:00:07 -07:00
Anna R
82249722d2
Sort members when adding enum names in TF API traverser.
...
PiperOrigin-RevId: 216809329
2018-10-11 21:30:43 -07:00
Anna R
1beadaf06c
Traverse through all enum names even if they have duplicate values.
...
PiperOrigin-RevId: 216787178
2018-10-11 17:15:05 -07:00
Mark Daoust
ad4018ebb6
Fix usage of docs_controls.should_skip
.
...
`docs_controls` was recently added to allow users to tag objects with `do_not_generate_docs` (it can be used as a decorator). This allows you to skip objects by _identity_, instead of path.
In my initial implementation I checked for the tag in the doc generation step.
This change fixes it to skip objects during the api-crawling step. This is necessary to avoid crawling the internals of all the excluded objects.
To enable this, the `_is_private` method of PublicAPIVisitor needs access to the object, not just the path to it. The changes in `public_api` allow this.
`generate_lib` uses the `_is_private` signature change to inspect the object.
PiperOrigin-RevId: 209587765
2018-08-21 06:55:39 -07:00
Francois Chollet
60bb01f1a7
Make tf.keras rely on external keras_applications and keras_preprocessing modules.
...
PiperOrigin-RevId: 207953769
2018-08-08 15:16:04 -07:00
Gunhan Gulsoy
ea5b1e4b5e
Exclude compiler.xla.experimental from the public api.
...
PiperOrigin-RevId: 207351070
2018-08-03 17:36:10 -07:00
A. Unique TensorFlower
151e35680b
Change traverse_test.test_module to traverse a constructed dummy module rather than testcase itself.
...
PiperOrigin-RevId: 197010681
2018-05-17 10:18:25 -07:00
Martin Wicke
bb582f1b6f
Remove all_opensource_files. It's not needed any more.
...
PiperOrigin-RevId: 190878279
2018-03-28 20:49:47 -07:00
Gunhan Gulsoy
4a90280d7e
Automated g4 rollback of changelist 158565259
...
PiperOrigin-RevId: 168650887
2017-09-14 00:43:24 -07:00
A. Unique TensorFlower
8bffa11a4c
BUILD cleanup in tensorflow/tools/...
...
PiperOrigin-RevId: 160018623
2017-06-23 18:12:45 -07:00
A. Unique TensorFlower
435599f5d8
Adjust test sizes
...
PiperOrigin-RevId: 158565259
2017-06-09 14:48:59 -07:00
A. Unique TensorFlower
0058c1f134
Make API do not descend map a bit more precise by including
...
the root module name. Add ability to mark symbols as private.
PiperOrigin-RevId: 158563334
2017-06-09 14:34:40 -07:00
Dan Ringwalt
692fad20f9
Merge changes from github.
...
Change: 155209832
2017-05-05 10:26:00 -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
Mark Daoust
b76f02855f
Add tensorboard to the _do_not_descend_map of the PublicAPIVisitor.
...
Change: 152592268
2017-04-08 07:53:03 -07:00
Martin Wicke
2238fd708c
Automated rollback of change 152310869
...
Change: 152528732
2017-04-07 12:29:19 -07:00
Gunhan Gulsoy
06c622b321
API backwards compatibility tests.
...
Change: 152310869
2017-04-05 15:29:34 -07:00
Martin Wicke
98620314c6
Add operators to classes in docs.
...
Enables all names looking like __XXXX__. It also excludes all the symbols defined in "uninteresting" base classes such as Exception, type, object, etc., as well as everything
defined by protobuf, and methods (but not properties) defined by namedtuple.
Sorts methods to have __init__ and __new__ first.
Corrects links to _pb2.py files to point to .proto files instead.
Removes redundant separate pages for class and static methods.
Change: 149813108
2017-03-10 17:11:58 -08:00
Gunhan Gulsoy
b71f11361e
Replace pip testing script with bazel.
...
Change: 147423640
2017-02-13 19:07:34 -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
Martin Wicke
a70c4b5dba
Exclude flags module from the public API.
...
Change: 147127454
2017-02-10 00:26:34 -08:00
A. Unique TensorFlower
3adf730ed3
Fix for non-hermetic build.
...
Change: 147093777
2017-02-09 16:09:46 -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
Martin Wicke
2691c1260f
Fix a bad comment.
...
Change: 143889993
2017-01-08 01:18:42 -08:00
Martin Wicke
8ac4834bee
Make a traversal tool to visit everything in a given Python module/class.
...
Change: 143061298
2016-12-27 15:45:55 -08:00