aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc
Commit message (Collapse)AuthorAge
* Merge pull request #21658 from lowintelligence:masterGravatar TensorFlower Gardener2018-10-08
|\ | | | | | | PiperOrigin-RevId: 216217509
* | Clean up the build_xla_ops to use the generated C++ TF op wrappers.Gravatar Sanjoy Das2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cleanup will make the future CL implementing lazy compilation simpler. Includes some supporting changes: - Teach NewInternalScope to create a scope that doesn't do shape inference. We need this because we don't have a ShapeRefiner that has been run over the entire graph available in the build_xla_ops pass. - Add a WithAssignedDevice modifier to tensorflow::Scope. - Make cc_op_gen write out an Operation field for nodes which may not necessarily have any outputs. We already did this in most cases, but we weren't doing it for nodes that have possibly-empty list outputs. - Minor change renaming ops/xla_jit_op.cc to ops/xla_jit_ops.cc, now that we have more than one XLA JIT op. PiperOrigin-RevId: 215293817
| * Merge remote-tracking branch 'origin'Gravatar Cao Zongyan2018-09-26
| |\ | |/ |/|
| * Fix build dependencies in tensorflow/cc/BUILD.Gravatar Cao Zongyan2018-09-25
| |
* | Merge pull request #22061 from perfinion:install_headersGravatar TensorFlower Gardener2018-09-17
|\ \ | | | | | | | | | PiperOrigin-RevId: 213343364
| | * Merge remote-tracking branch 'origin'Gravatar Cao Zongyan2018-09-11
| | |\ | |_|/ |/| |
| * | Add //tensorflow:install_headers targetGravatar Jason Zaman2018-09-05
| | | | | | | | | | | | | | | | | | | | | Used to prepare all the header files so they can easily be installed into /usr/include when packaging TF. Signed-off-by: Jason Zaman <jason@perfinion.com>
| | * Avoid golden API file changing.Gravatar Cao Zongyan2018-09-05
| | |
| | * Code fix against ci_build error results.Gravatar Cao Zongyan2018-09-03
| | |
* | | fix the comparison error when building a CPP API applicationGravatar Sangjung Woo2018-09-03
|/ / | | | | | | | | | | | | | | | | | | | | | | When building a CPP API application with "-Wall -Werror" option , `error: comparison between signed and unsigned integer expressions' occurs since return type of num_elements() is 'int64' instead of 'size_t' in ops.h to express -1. This patch fixes this bug by explicit type casting. * related issue: https://github.com/tensorflow/tensorflow/issues/20428 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
| * Refine LeakyRelu codes.Gravatar Cao Zongyan2018-08-29
| | | | | | | | | | 1. Add C++ gradient of gradient definition of LeakyReLu and revalant UT. 2. Using forward compatibility layer for python code changes.
* | Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-08-28
| | | | | | | | PiperOrigin-RevId: 210596417
* | 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
* | Replaced calls to tensorflow::StringPiece::ToString with string conversions.Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | | | | | | | | | 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: 209806694
* | Merge pull request #21621 from facaiy:CLN/add_div_no_nan_opGravatar TensorFlower Gardener2018-08-20
|\ \ | | | | | | | | | PiperOrigin-RevId: 209508149
* | | Move FindInputArg() for ApiDef::Arg to op_def_util.cc and cleanup Python/c++ ↵Gravatar Nick Kreeger2018-08-17
| | | | | | | | | | | | | | | | | | | | | | | | references. This method is currently duplicated in Python code and will be used for TypeScript generation. PiperOrigin-RevId: 209207139
| | * Add LeakyRelu C++ Op and its gradient implementation.Gravatar Cao Zongyan2018-08-16
| |/ |/| | | | | | | | | | | | | LeakyRelu, defined as 'y = { x (x>=0) or alpha*x (x<0) }', was computed by combined Ops 'max(x, alpha*x)' in current codes. Hence its gradient calculation for back propagation would contain a serial of element-wise Ops. This looks really unnecessary for such a simple op and it could be done within just one Op with less memory accesses.
| * Merge remote-tracking branch 'upstream/master' into ENH/unsafe_divGravatar Yan Facai (颜发才)2018-08-14
| |\ | |/ |/|
| * CLN: rename UnsafeDiv => DivNoNanGravatar Yan Facai (颜发才)2018-08-14
| |
* | Merge pull request #20536 from rongjiecomputer:flagGravatar TensorFlower Gardener2018-08-13
|\ \ | | | | | | | | | PiperOrigin-RevId: 208565050
* \ \ Merge pull request #19105 from facaiy:ENH/unsafe_divGravatar TensorFlower Gardener2018-08-11
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 208352779
* \ \ \ Merge pull request #19653 from theflofly:segment-sum-prodGravatar TensorFlower Gardener2018-08-10
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 208266242
| | | | * CLN: clang-format format cc codesGravatar Yan Facai (颜发才)2018-08-09
| | | |/ | | |/|
* | | | Merge pull request #21289 from yupbank:more-informative-logGravatar TensorFlower Gardener2018-08-08
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 207959776
| * | | | make the line shorterGravatar Peng Yu2018-08-07
| | | | |
* | | | | Merge pull request #20928 from kbsriram:tf-fill-gradGravatar TensorFlower Gardener2018-08-07
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 207735371
| | | | * \ Merge branch 'master' into ENH/unsafe_divGravatar Yan Facai (颜发才)2018-08-07
| | | | |\ \ | |_|_|_|/ / |/| | | | |
* | | | | | Handle NaN results when verifying gradients.Gravatar A. Unique TensorFlower2018-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change returns NaN as the maximum error if any gradient entry is NaN. This avoids masking gradient implementation errors in tests that don't expect to see NaN results. PiperOrigin-RevId: 207551265
* | | | | | Merge pull request #21021 from kbsriram:tf-image-gradGravatar TensorFlower Gardener2018-08-03
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 207350813
* | | | | | | Add experimental Callable API to ClientSession.Gravatar A. Unique TensorFlower2018-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 207323298
| | | * | | | Slightly modify error messageGravatar Jonathan Hseu2018-07-31
| | | | | | |
| | | * | | | address commentsGravatar Peng Yu2018-07-31
| | | | | | |
| | | * | | | Add extra log for failing to load variable purposeGravatar Peng Yu2018-07-31
| |_|/ / / / |/| | | | |
| | | | * | Merge remote-tracking branch 'upstream/master' into ENH/unsafe_divGravatar Yan Facai (颜发才)2018-07-31
| | | | |\ \ | |_|_|_|/ / |/| | | | |
| | | | * | TST: add test case, division by zeroGravatar Yan Facai (颜发才)2018-07-30
| | | | | |
* | | | | | Merge pull request #20671 from yongtang:06052018-tan-complexGravatar TensorFlower Gardener2018-07-27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 206341656
* | | | | | | Have the SavedModel loader use Session's Make/Run/ReleaseCallable() API ↵Gravatar Christopher Olston2018-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of Run(), to avoid leaving behind non-GC'ed state after model initialization. PiperOrigin-RevId: 206266841
* | | | | | | The SavedModel legacy_init_op and main_op are functionally equivalent. Here, ↵Gravatar Karmel Allison2018-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we remove duplicated code paths by mapping legacy_init_op into main_op in the SavedModelBuilder, and we deprecate the legacy_init_op arg. Note that the loader will still look for both, so old SavedModels will still load without trouble. PiperOrigin-RevId: 206026743
* | | | | | | Merge pull request #20763 from pbanavara:masterGravatar TensorFlower Gardener2018-07-24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 205880828
* | | | | | | | Automated rollback of commit cf94a46c34f8568608d78b77e9a1c4369ebcafa2Gravatar Karmel Allison2018-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 205746329
* | | | | | | | The SavedModel legacy_init_op and main_op are functionally equivalent. Here, ↵Gravatar Karmel Allison2018-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we remove duplicated code paths by mapping legacy_init_op into main_op in the SavedModelBuilder, and we deprecate the legacy_init_op arg. Note that the loader will still look for both, so old SavedModels will still load without trouble. PiperOrigin-RevId: 205728344
| | | * | | | | Add C++ gradients for some image operators.Gravatar KB Sriram2018-07-21
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added gradients and tests for - ResizeBilinear - ResizeBicubic - ResizeNearestNeighbor Note: Some of the tests are for the operator itself rather than the gradient, paralleling existing tests in image_grad.py See https://github.com/tensorflow/tensorflow/issues/21019
* | | | | | | Update `reader` dependencies such that the SavedModel loader still works on ↵Gravatar A. Unique TensorFlower2018-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mobile. PiperOrigin-RevId: 205248073
| | | * | | | Add gradient for tensorflow::ops::FillGravatar KB Sriram2018-07-18
| |_|/ / / / |/| | | | | | | | | | | | | | | | | See https://github.com/tensorflow/tensorflow/issues/20926
* | | | | | TF SavedModel: Split off a reader from the loader moduleGravatar A. Unique TensorFlower2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 204468340
| * | | | | Fix: #12686 SoftmaxCrossEntropyWithLogitsGravatar Pradeep Banavara2018-07-12
|/ / / / / | | | | | | | | | | | | | | | Committing in a new PR as the old PR has too many commit files
| | | | * Remove all references of windows_msvc config_settingGravatar Loo Rong Jie2018-07-12
| |_|_|/ |/| | |
| * | | Remove TODO and enable complex for tan in test case.Gravatar Yong Tang2018-07-10
|/ / / | | | | | | | | | Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* | | Merge pull request #20316 from case540/branch_202152026Gravatar Michael Case2018-06-26
|\ \ \ | | | | | | | | Branch 202152026
* | | | C++ gradient for Slice (#17592)Gravatar KB Sriram2018-06-26
| | | | | | | | | | | | See https://github.com/tensorflow/tensorflow/issues/9645