Commit Graph

21 Commits

Author SHA1 Message Date
A. Unique TensorFlower
f5236aa296 BUILD file cleanup
PiperOrigin-RevId: 334697600
Change-Id: I4f22e8c9a3dcd073f037847c8fde99e5ec1f3a35
2020-09-30 16:03:47 -07:00
Adrian Kuegel
78844fa978 internal BUILD file cleanup
PiperOrigin-RevId: 278833682
Change-Id: I43390b8edf4596477b6231a8462c06e9199fc0bc
2019-11-06 05:05:40 -08:00
Adrian Kuegel
35f8f8abab Let cc_proto_library create proto libraries with _protogen instead of _cc_protogen suffix.
This is motivated by making this more similar to the internal build system.

PiperOrigin-RevId: 278584449
Change-Id: I0545dbb8c0b03af44eac7dc0f90acba8eb036710
2019-11-05 03:09:35 -08:00
A. Unique TensorFlower
a0e2b971b0 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: 252864967
2019-06-12 12:28:54 -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
A. Unique TensorFlower
8c764edcf8 Remove #include of command_line_flags.h where not needed.
PiperOrigin-RevId: 224076036
2018-12-04 17:38:26 -08: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
Sanjoy Das
f8347ceebb Remove THIRD_PARTY_ from #include guards
They don't make sense in the open source repository.

PiperOrigin-RevId: 183140889
2018-01-24 14:31:28 -08:00
Dandelion Man?
90e42f3ac8 Automated g4 rollback of changelist 179260538
PiperOrigin-RevId: 179263865
2017-12-15 18:19:09 -08:00
A. Unique TensorFlower
9648f8040a Automated g4 rollback of changelist 179258973
PiperOrigin-RevId: 179260538
2017-12-15 17:39:26 -08:00
Dandelion Man?
d55f532867 Merge changes from github.
PiperOrigin-RevId: 179258973
2017-12-15 17:16:29 -08:00
Anna R
2f70cef14b Rename attribute and not argument when renaming squeeze_dims to axis in Squeeze
op.

PiperOrigin-RevId: 174508597
2017-11-03 13:56:43 -07:00
Allen Lavoie
5c7f9e316d Remove RTLD_GLOBAL when loading pywrap_tensorflow
Splits out a shared object (//tensorflow/libtensorflow_framework.so) with core TensorFlow functionality but neither ops nor kernels. This object does include registries for ops, kernels, filesystems, etc. The expectation is that shared objects containing custom ops will have a runtime dependency on this framework shared object: TensorFlow will load the custom op shared object, and the custom op shared object will use the symbols from the framework shared object to register its ops/kernels/etc. rather than (as before this change) relying on those symbols being in the global symbol table.

In this mode, TensorFlow artifacts (_pywrap_tensorflow.so for Python, libtensorflow.so for the C API; currently excluding Android artifacts) will depend on the framework shared object, which will be packaged with the Python pip package and other language distributions. This means that custom ops targeting the framework shared object will work in any language (C++, Java, Go; previously custom ops in these languages required custom Bazel builds).

Adds a config option which reproduces the old behavior (--config=monolithic), which for Python means building a monolithic pywrap_tensorflow shared object and loading its symbols into the global symbol table (with RTLD_GLOBAL). As before, there will be no extra-Bazel custom op support for other languages when compiling in this mode.

Does not change behavior on Windows; the cmake build is still monolithic.

Requires using tf_cc_binary, tf_cc_test, and (rarely) tf_cc_shared_object rules to link in the framework shared object when adding new TensorFlow build rules.

PiperOrigin-RevId: 169572746
2017-09-21 11:33:40 -07:00
Peter Hawkins
9b6295d7b3 BUILD dependency cleanups.
Rename RecvTensorAsync method to GrpcRecvTensorAsync to fix shadowing of method in Worker with a different signature.

PiperOrigin-RevId: 164454701
2017-08-07 06:48:32 -07:00
A. Unique TensorFlower
dfd8e7110e BUILD cleanup
PiperOrigin-RevId: 164369858
2017-08-05 14:20:46 -07:00
A. Unique TensorFlower
86ca3506f5 Further BUILD cleanup
PiperOrigin-RevId: 163360750
2017-07-27 10:53:41 -07:00
A. Unique TensorFlower
0a379aefe4 Further BUILD cleanup
PiperOrigin-RevId: 159749869
2017-06-21 15:10:20 -07:00
A. Unique TensorFlower
ac66be783b Minor cleanup: Remove unused BUILD dependencies and unnecessary code.
PiperOrigin-RevId: 157837211
2017-06-02 09:12:35 -07:00
Pete Warden
7c9d2a458e Add AudioSpectrogram op to TensorFlow for audio feature generation
Change: 152872386
2017-04-11 16:08:23 -07:00
A. Unique TensorFlower
4c9ec814db Automated rollback of change 152332221
Change: 152333917
2017-04-05 19:06:46 -07:00
Pete Warden
a24c6b842d Add AudioSpectrogram op to TensorFlow for audio feature generation
Change: 152332221
2017-04-05 18:24:52 -07:00