aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/graph_transforms
Commit message (Collapse)AuthorAge
* Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-09-04
| | | | PiperOrigin-RevId: 211487989
* Replaced calls to tensorflow::StringPiece::ToString with std::string ↵Gravatar A. Unique TensorFlower2018-08-27
| | | | | | | | | | conversions. That is, instances of sp.ToString() are replaced with string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 210394878
* fix C++ header guards.Gravatar A. Unique TensorFlower2018-08-21
| | | | PiperOrigin-RevId: 209679086
* Automated rollback of commit ee38f86972b13f3eb90032e93b305e822152bf62Gravatar Patrick Nguyen2018-08-09
| | | | PiperOrigin-RevId: 208146417
* Merge pull request #21023 from zhaoyongke:masterGravatar TensorFlower Gardener2018-08-09
|\ | | | | | | PiperOrigin-RevId: 208100633
| * Fold bn with depthwise conv, minor typoGravatar zhaoyongke2018-08-03
| |
| * Fold BN after depthwise convGravatar 卜居2018-07-22
| |
* | Update fold_old_batch_norms.ccGravatar Joe Yearsley2018-07-20
|/ | | Fixed my previous fix.
* Add some LOGging when we detect nodes in a cycleGravatar Sanjoy Das2018-07-18
| | | | PiperOrigin-RevId: 205146924
* Fix RemoveUnusedNodes generating invalid graphs for PlaceholderWithDefault ↵Gravatar A. Unique TensorFlower2018-06-08
| | | | | | inputs PiperOrigin-RevId: 199776409
* Merge changes from github.Gravatar Yifei Feng2018-05-24
| | | | | | | Revert #18413. Too many internal test failures due to the name scope change caused by this change. Revert #18192. Cannot use re2::StringPiece internally. Need alternative for set call. Will pull and clean this up in a separate change. PiperOrigin-RevId: 197991247
* Simplify the remapper code and added support for non scalar mean, variance, ↵Gravatar Benoit Steiner2018-05-23
| | | | | | scale and offset. PiperOrigin-RevId: 197812268
* ClangTidy - Legacy cleanup:Gravatar A. Unique TensorFlower2018-05-13
| | | | | | | | | * use nullptr * converting integer literal to bool, use bool literal instead * annotate this function with 'override' or (rarely) 'final' * prefer using 'override' or (rarely) 'final' instead of 'virtual' PiperOrigin-RevId: 196441181
* Replaced calls to tensorflow::StringPiece::ToString with std::string ↵Gravatar Peter Hawkins2018-05-02
| | | | | | | | | | conversions. That is, instances of sp.ToString() are replaced with std::string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 195162126
* Merge changes from github.Gravatar Patrick Nguyen2018-05-01
| | | | PiperOrigin-RevId: 194997009
* Merge changes from github.Gravatar Yifei Feng2018-04-23
| | | | PiperOrigin-RevId: 194031845
* Replaced calls to deprecated tensorflow::StringPiece methods with theirGravatar A. Unique TensorFlower2018-04-04
| | | | | | | | tensorflow::str_util equivalents. This will allow the deprecated methods to be removed. PiperOrigin-RevId: 191627087
* Add max_constant_size_in_bytes parameter for ConstantFolding transform that ↵Gravatar A. Unique TensorFlower2018-04-03
| | | | | | sets the maximum size of each created constant. PiperOrigin-RevId: 191523208
* Remove all_opensource_files. It's not needed any more.Gravatar Martin Wicke2018-03-28
| | | | PiperOrigin-RevId: 190878279
* Merge changes from github.Gravatar Jacques Pienaar2018-03-21
| | | | PiperOrigin-RevId: 189945839
* Automated g4 rollback of changelist 189231636Gravatar A. Unique TensorFlower2018-03-15
| | | | PiperOrigin-RevId: 189258641
* Merge changes from github.Gravatar Jacques Pienaar2018-03-15
| | | | PiperOrigin-RevId: 189231636
* Merge changes from github.Gravatar Shanqing Cai2018-03-12
| | | | PiperOrigin-RevId: 188817194
* Remove unneeded rewrite, now that contrib.quantize is ready and better.Gravatar Suharsh Sivakumar2018-03-07
| | | | PiperOrigin-RevId: 188257466
* Merge changes from github.Gravatar Yifei Feng2018-02-22
| | | | PiperOrigin-RevId: 186674197
* Merge changes from github.Gravatar Ankur Taly2018-02-16
| | | | PiperOrigin-RevId: 186073337
* Preserving order when removing nodes.Gravatar A. Unique TensorFlower2018-02-08
| | | | PiperOrigin-RevId: 185023366
* Supporting new saving op structure.Gravatar A. Unique TensorFlower2018-02-01
| | | | PiperOrigin-RevId: 184233513
* Extending sparsify_gather to remove variables from the tensorflow summaries.Gravatar A. Unique TensorFlower2018-01-31
| | | | PiperOrigin-RevId: 184004859
* Remove dead codeGravatar A. Unique TensorFlower2018-01-26
| | | | PiperOrigin-RevId: 183450369
* Updating sparsify_gather.Gravatar A. Unique TensorFlower2018-01-26
| | | | PiperOrigin-RevId: 183402917
* Remove THIRD_PARTY_ from #include guardsGravatar Sanjoy Das2018-01-24
| | | | | | They don't make sense in the open source repository. PiperOrigin-RevId: 183140889
* Merge changes from github.Gravatar Patrick Nguyen2017-12-28
| | | | PiperOrigin-RevId: 180301735
* Merge changes from github.Gravatar A. Unique TensorFlower2017-12-22
| | | | PiperOrigin-RevId: 179953488
* Updating sparsify gather to work with core estimators.Gravatar A. Unique TensorFlower2017-12-18
| | | | PiperOrigin-RevId: 179306398
* Split out a "graph" library from "core_cpu" to allow finer-grained dependencies.Gravatar Derek Murray2017-12-01
| | | | | | | This is a step towards supporting custom Dataset ops built as external libraries. PiperOrigin-RevId: 177595688
* Delete trailing whitespaceGravatar A. Unique TensorFlower2017-11-27
| | | | PiperOrigin-RevId: 177008504
* Merge changes from github.Gravatar Yifei Feng2017-11-22
| | | | PiperOrigin-RevId: 176695926
* Automated g4 rollback of changelist 176615107Gravatar Yifei Feng2017-11-22
| | | | PiperOrigin-RevId: 176622438
* Merge changes from github.Gravatar Yifei Feng2017-11-21
| | | | PiperOrigin-RevId: 176615107
* Automated g4 rollback of changelist 175593063Gravatar A. Unique TensorFlower2017-11-20
| | | | PiperOrigin-RevId: 176445215
* Automated g4 rollback of changelist 175563786Gravatar A. Unique TensorFlower2017-11-13
| | | | PiperOrigin-RevId: 175593063
* Moved tensorflow::StringPiece::Hasher out of tensorflow::StringPiece and ↵Gravatar A. Unique TensorFlower2017-11-13
| | | | | | renamed it tensorflow::StringPieceHasher. This allows tensorflow::StringPiece to be more easily replaced with absl::string_view (which does not contain a Hasher struct). PiperOrigin-RevId: 175563786
* Reduce the dependencies in //third_party/tensorflow/tools/graph_transforms.Gravatar Derek Murray2017-11-01
| | | | PiperOrigin-RevId: 174233361
* Bug fixes for fold_constants_lib.Gravatar A. Unique TensorFlower2017-10-18
| | | | | | | | | | | | | | | | | | | | | | | | 1. Tensor names in TF may be in the form of "a:0", "a:1", or "a" as a shorthand notation of "a:0". FoldConstant library always expected the shorthand notation, and did not handle the cases where explicit notation was passed to input or output list. This means that this library could not handle the case when input or output were not the first output of a node. 2. To match the input nodes in the original graph and the added Recv nodes in rewritten graph, FoldConstant library used prefix matching. Unfortunately, this means that when a input name is a prefix of another input name, there is possibility that wrong Recv node gets matched. For example, if input names were "placeholder" and "placeholder_1", then it did not handle the case very well. 3. RemoveUnusedNodes() in FoldConstants lib could remove nodes which output depended on. This happened when an input name points to a node with multiple outputs and not all outputs of that node were included in the input names. 4. ReplaceSendRecvs() in FoldConstants lib assumed that all input nodes are removed during rewriting the graph. This assumption is not necessarily true, and it could add a duplicate node in the graph. PiperOrigin-RevId: 172641947
* Add "clear_output_shapes" option to FoldConstants transformer inGravatar A. Unique TensorFlower2017-10-12
| | | | | | | | | tools/graph_transforms. By setting this option to false, the transformer will not strip off the shape information stored as attributes. PiperOrigin-RevId: 172057283
* Use shape information in constant propagation.Gravatar A. Unique TensorFlower2017-10-03
| | | | PiperOrigin-RevId: 170818644
* Don't fold batch norm calculations if weights are used somewhere else in the ↵Gravatar A. Unique TensorFlower2017-09-28
| | | | | | graph. PiperOrigin-RevId: 170309345
* Enable folding batch norm when inputs are concat of Conv2D.Gravatar Mingxing Tan2017-09-25
| | | | PiperOrigin-RevId: 170001077
* Remove RTLD_GLOBAL when loading pywrap_tensorflowGravatar Allen Lavoie2017-09-21
| | | | | | | | | | | | | | 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