History log of /external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
802080ac2a529598df484f54058cd75023ff3f8c 07-Feb-2018 Sanjoy Das <sanjoy@google.com> [XLA] Use HloVerifiedTestBase in AlgebraicSimplifierTest

And fix the fallout. Thanks to asbirlea@ for noticing this!

PiperOrigin-RevId: 184796949
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
a58524fa602829459aa7eb0335a33afe1f28382a 19-Jan-2018 Chris Leary <leary@google.com> [XLA] Simplify trivial pad/reduce-window combos into broadcasts.

PiperOrigin-RevId: 182585236
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
0ea9532c29d230c4407a04ffbf0ed79b5e182be6 22-Dec-2017 Justin Lebar <jlebar@google.com> [XLA] Transform division-by-fp-constant to multiplication by its inverse.

Backends can do this transformation, but in general they won't if the
divisor is not a constant. In addition, this formulation allows more
aggressive fusion.

PiperOrigin-RevId: 179869591
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
1279bb10b9bd76f15637074c6518a3464916e007 20-Dec-2017 Justin Lebar <jlebar@google.com> [XLA] Add reassociation rule for adds, and add canonicalization rules for add/sub of a constant.

This patch adds a new algebraic simplification:

* (A + C0) + C1 => A + (C0 + C1), where C0 and C1 are constants. This
allows us to constant-fold C0 + C1.

In service of this rule, this patch also adds two new canonicalizations:

* Const + A => A + Const
* A - Const => A + (-1 * Const)

PiperOrigin-RevId: 179731747
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
f22377476786927752a5e633a674bbcd8b346ee7 20-Dec-2017 Blake Hechtman <blakehechtman@google.com> [XLA] Turn pad and reduce window of zero sized inputs into a broadcast.

PiperOrigin-RevId: 179608875
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
08edd95ff158964d351925dcdb5e0b44d9c5a420 19-Dec-2017 Justin Lebar <jlebar@google.com> [XLA] Rename "MonotonicDim0MajorLayout" to "DescendingLayout".

This is shorter, and hopefully less confusing.

As a result, we rename NormalizeShapeToMonotonicDim0MajorLayout to the
more descriptive MakeShapeWithDescendingLayoutAndSamePhysicalLayout,
and rename MakeShapewithMonotonicDim0MajorLayout to
MakeShapeWithDescendingLayout.

We also beef up the comments on the first function.

PiperOrigin-RevId: 179608145
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
fb81f1927924c1e3d82a2673c04f8918004cca9e 19-Dec-2017 Justin Lebar <jlebar@google.com> [XLA] Add pow(pow(A, X), Y) => pow(A, X*Y) simplification.

PiperOrigin-RevId: 179487434
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
379d59d01e4419aadf9103338315624eadfd9f81 12-Dec-2017 Sanjoy Das <sanjoy@google.com> [XLA] Optimize dot(concat(..), constant)

dot(concat(..), constant) and dot(constant, concat(..)) can be rewritten to
avoid the concatenate. This can itself be a win, but can also help unlock other
optimization opportunities.

PiperOrigin-RevId: 178691585
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
408029937b559300eb79168e9bd584d6d6c7c80c 11-Dec-2017 Blake Hechtman <blakehechtman@google.com> [XLA] Improve dot strength reductions to support transposes of the right and
left hand side of a dot.

PiperOrigin-RevId: 178619673
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
4146ff1259c0b4ada8afbbad11a7b37d8373d1b9 30-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Adds Dot with DotDimensionNumbers proto for specifying arbitrary contracting and batch dimensions.

PiperOrigin-RevId: 177481231
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
102bfdfd830f4dab6e00371e63a82561e1246518 28-Nov-2017 David Majnemer <majnemer@google.com> [XLA] Separate input and output spatial dimensions for convolution

This lets us reason about input spatial dimensions as distinct from output spatial dimensions. By doing this, it opens up more opportunities for assigning more interesting, different, layouts for the activations and the output.

PiperOrigin-RevId: 177117140
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
c518d35b9077bd193321f8b66dfb958ce9ab61cd 22-Nov-2017 Kay Zhu <kayzhu@google.com> [XLA] Enable explicit broadcast for ternary operations.

Also explicitly broadcast constant 1 in algsimp for pow(x, -1) => 1/x transformation, so that:
- we can avoid implicit broadcast which we are trying to eliminate at HLO level.
- interpreter, which does not support implicit broadcast, now passes the PowSpecialF32 test case in array_elementwise_ops_test which generates a divide(1.F32[], param.F[4]) instruction that requires implicit broadcast.

PiperOrigin-RevId: 176582286
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
58f7858601b72aa3c5854571f2152b91d1795e29 13-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> [TF:XLA] Adding test coverage for more C64 operations, and ensuring they pass.

Included here:
- reduction ops (reduce_sum, reduce_prod)
- unaries: tanh, sigmoid (currently GPU only)
- binaries: pow (currently GPU only)

PiperOrigin-RevId: 175562417
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
d90e886f3fb32bfca26dc334e7996c6850d495be 03-Nov-2017 Justin Lebar <jlebar@google.com> [XLA] Add WhileLoopSimplifier pass.

This is just code motion, moving this logic out of the
AlgebraicSimplifier. In a future patch we'll add additional
functionality.

PiperOrigin-RevId: 174406161
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
4198e27be8115585ad6b5b141383fb7dc7856c24 27-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA:CPU] [XLA:GPU] Adds compiler support for C64 primitive type, including relevant elementwise unary and binary op lowering for CPU and GPU.

We use a named LLVM struct "complex64", laid out the same as std::complex<float>. This named struct is accessed via the llvm::Module, which required changes to accessors of PrimitiveTypeToIrType & friends.

Ops that require atan2 (in particular, angle and log) are only supported on GPU at this point. LLVM lacks a CPU intrinsic for atan or atan2, whereas libdevice provides this for GPU.

PiperOrigin-RevId: 173676849
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
7efbfc22850394c94785885d3b06cdd71124e5d6 26-Oct-2017 Alina Sbirlea <asbirlea@google.com> Fix test:
Call instruction was added to builder instead of call_builder. Triggers the assertion in MakeInstructionPostOrder when dumping out the module.

PiperOrigin-RevId: 173464579
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
805594a4643dda027ff45be7edd2ab94f57a9dec 25-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Set shape of -C equal to shape of C in A/pow(B,C) -> A*pow(B,-C).

PiperOrigin-RevId: 173414738
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
48eee55b02a542a0a30b918a6a64e8ae7283e01a 12-Oct-2017 David Majnemer <majnemer@google.com> Automated g4 rollback of changelist 170358888

PiperOrigin-RevId: 171982861
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
d4d5e1510f2404ff1dafaa83171b0dcaec5fdfeb 11-Oct-2017 Justin Lebar <jlebar@google.com> [XLA] Simplify trivial dynamic-slices.

Also make the dynamic-update-slice simplification respect the
is_layout_sensitive_ flag in algebraic-simplifier

While we're here, make the algebraic-simplifier test use the new
HloVerifiedTestBase class.

PiperOrigin-RevId: 171759708
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
e540a893f14d9b0beea9161962694bf7d139caf3 10-Oct-2017 Justin Lebar <jlebar@google.com> [XLA] Fix setting of changed_ in AlgebraicSimplifier.

Due to this bug, sometimes AlgebraicSimplifier would make a change but
say that it didn't. This would cause us to run the HLO simplification
pipeline fewer times than we should.

PiperOrigin-RevId: 171735154
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
5baebfc13c66efb3ca7fe008aeca4a836fc76a3d 30-Sep-2017 Justin Lebar <jlebar@google.com> [XLA:CPU] Remove trivial DynamicUpdateSlices.

A DynamicUpdateSlice where the update shape is the same as the output
shape and the input indices are all 0 is equal to its update.

PiperOrigin-RevId: 170539478
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
8c8c8fb779bcb42944f5854e16decd69c29dcf69 29-Sep-2017 Justin Lebar <jlebar@google.com> [XLA] Don't attempt to simplify loops that contain non-removable instructions.

PiperOrigin-RevId: 170408060
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
9d2d6cdfce769fee92f2211946855892c5d4ea4e 28-Sep-2017 David Majnemer <majnemer@google.com> Automated g4 rollback of changelist 170130811

PiperOrigin-RevId: 170358888
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
adbcb1555a142cb78b16d0a174fc8d4e2e987109 28-Sep-2017 Justin Lebar <jlebar@google.com> [XLA] Simplify trivial while loops.

If we can statically determine that a loop has a trip count of 0 or 1,
we can simplify it by removing the whole loop or removing the loop
infrastructure, leaving just the body behind.

PiperOrigin-RevId: 170357886
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
0b853efdf0edc7a906a4d08413fa2f1d7f3d9be2 27-Sep-2017 David Majnemer <majnemer@google.com> [XLA] Split input and output in ConvolutionDimensionNumbers

This allows for additional freedom when reasoning and transforming the input
and output of convolutions.

PiperOrigin-RevId: 170130811
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
2ad85aa4db2d0d6ea71e53c0fed3c7081847c55c 12-Sep-2017 Mark Heffernan <meheff@google.com> Use xla/tests:xla_internal_test_main for all tests under tf/compiler/xla
and remove any main() definitions in tests. This enables use of flags
in all tests.

PiperOrigin-RevId: 168424796
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
11698cc8e157eefe71a60931f1e721ad327e08af 28-Aug-2017 Mark Heffernan <meheff@google.com> Verify the output shape of HLO instructions in the HloVerifier. This change adds verification for some but not all instruction types. To support this verification, add HLO-level methods to ShapeInference. These methods will also be useful to automatically infer shape in the HloInstruction::Create* methods.

This CL also fixes some tests and transformations with malformed instructions found by the verifier.

PiperOrigin-RevId: 166718979
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
96af8b0b9738fb147b3b3ffe555f952b2f9e8ccf 17-Jul-2017 A. Unique TensorFlower <gardener@tensorflow.org> Minor cleanup

PiperOrigin-RevId: 162222071
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
87d86dbbf4eadf1f7be414d1192cd5ef72db6026 06-Jul-2017 Peter Hawkins <phawkins@google.com> [XLA] Fix crash in algebraic simplifier when sinking a reshape-to-scalar after an elementwise operation.

The test case in the change previously failed with:
algebraic_simplifier.cc:1091] Check failed: user->operand(reshape_or_broadcast_operand_index) == reshape_or_broadcast

PiperOrigin-RevId: 161121259
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
c0f475b03eeca19b217527f7946da837e8438e27 06-Jul-2017 Peter Hawkins <phawkins@google.com> [XLA] Add support for tuple constants via a rewrite that replaces constant tuples with tuples of non-tuple constants.

Fix crash in HloInstruction::ToString() for tuple constants.

PiperOrigin-RevId: 161085252
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
0bce3ad96382de0506256b6cbc5dd29a8691bdbf 30-Jun-2017 Blake Hechtman <blakehechtman@google.com> [XLA] Various algebraic simplifications involving division and exponenentials

PiperOrigin-RevId: 160655974
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
50b999a8336d19400ab75aea66fe46eca2f5fe0b 28-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Merge changes from github.

PiperOrigin-RevId: 160344052
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
1fa73c53ab95693f070ce70e6be0c644d83c163a 26-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Automated g4 rollback of changelist 160182040

PiperOrigin-RevId: 160190881
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
f3c89936e97c99dead1ca3310246691c1b221adf 26-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Merge changes from github.
END_PUBLIC

Note: this CL will break builds. cl/159887762 to follow to fix all the breakages.

---
Commit 2336cdf7f authored by Maxwell Paul Brickner<mbrickn@users.noreply.github.com>
Committed by gunan<gunan@google.com>:
Updated link to use HTTPS (#10998)

Howdy!

I just updated a link to use https instead of http.

Thanks!
---
Commit ad0892df1 authored by Luke Iwanski<luke@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] Fixes run_metadata_test for SYCL

This test is designed to test CUDA specific behavior

---
Commit 6b37a0725 authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Update comments
---
Commit 1699d904a authored by John Lawson<john@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] Fixes CUDA specific test run on SYCL (#56)

The testBadParentValuesOnGPU should only be run on CUDA devices, as the
test checks for particular CUDA behaviour. We don't actually provide a
SYCL kernel for GatherTree and so it's not a problem that the tests
don't target SYCL.
---
Commit 3c1946230 authored by myPrecious<Moriadry@users.noreply.github.com>
Committed by Shanqing Cai<cais@google.com>:
Java API to get the size of specified input list of operations. (#10865)

* Java API to get the size of specified input list of operations

* remove unnecessary explain to avoid bring a new term to users.

---
Commit e911c7480 authored by Luke Iwanski<luke@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] REGISTER -> REGISTER6

---
Commit fbf6c4cec authored by superryanguo<superryanguo@gmail.com>
Committed by superryanguo<superryanguo@gmail.com>:
Simplify the Quickstart section with the weblink is better

---
Commit 72e2918cc authored by Taehoon Lee<taehoonlee@snu.ac.kr>
Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
Fix typos

---
Commit 90c4406b7 authored by Rishabh Patel<patelrishabh@users.noreply.github.com>
Committed by GitHub<noreply@github.com>:
Correct the learning rate as per the code snippet
---
Commit 03da61134 authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Update ir_array.cc
---
Commit 2df6cd3ac authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Another try
---
Commit af0cbace1 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Transpose to go through Eigen (#10321)

---
Commit fc7361081 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Registers RGBToHSV and HSVToRGB (#91) (#10848)

* [OpenCL] Added RGBToHSV and HSVToRGB

* Aligning '\'
---
Commit 832894ef8 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Registers AdjustContrastv2 (#10949)

* [OpenCL] Registers AdjustContrastv2 (#93)

* [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL (#96)

* [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL

* simplified to #ifndef

* Changed to "#if GOOGLE_CUDA"

* Update adjust_contrast_op_benchmark_test.cc

* Added comments

---
Commit cb4c2f8d1 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Make TransferBufferToInFeed not virual so it compiles.

---
Commit e89f04d80 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix calling Literal member functions.

---
Commit 15a8df724 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix mac build
clone from meheff's change:
[XLA] Change return type of DeviceAssignment::Deserialize to fix build
breakage on mac.
The mac build had the following error:

error: incomplete type 'xla::DeviceAssignment' used in type trait
expression

This was due to a static method returning a StatusOr<DeviceAssignment>
inside of the definition of DeviceAssignment.

---
Commit a54d43fa4 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Replace LiteralUtil to Literal in compiler/plugin/executor

---
Commit 88a6bb80c authored by Guenther Schmuelling<guschmue@microsoft.com>
Committed by Guenther Schmuelling<guschmue@microsoft.com>:
expand inline for debug builds to limit number of symbols

---
Commit 62fb49d31 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix visibility error for contrib/remote_fused_graph/pylib/BUILD.

---
Commit 4c75252f2 authored by Mark Neumann<markn@allenai.org>
Committed by Mark Neumann<markn@allenai.org>:
fix initial test values to avoid numerical instability

---
Commit b58d98353 authored by sj6077<epik03sj@gmail.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Fixes of AutoParallel bug (#10368)

* Fix the bug that auto_parallel could replicate variable snapshot name

* Use NodeName in grappler:utils instead of substr, convert variables->variable_def of grappler item

* remove variable_def from grappler item, exclude snapshot nodes from dont_replicate_nodes in auto_parallel

---
Commit a286b7db8 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Make debug_test slice integer.

---
Commit 97fcfdfa6 authored by Toby Boyd<tobyboyd@google.com>
Committed by GitHub<noreply@github.com>:
Fixed path to seq2seq.py and minor formatting
---
Commit 63c1befb8 authored by Anish Shah<shah.anish07@gmail.com>
Committed by Anish Shah<shah.anish07@gmail.com>:
Improve docs for tf.nn.depthwise_conv2d_native

---
Commit 8d42202b2 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Fix mismatched delete in mkl_tfconv_op.cc

This fix fixes mismatched new[]-delete in mkl_tfconv_op.cc

(the file went through clang-format so there are some additional
changes)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 26301bd55 authored by Danny Goodman<goodman.danny@gmail.com>
Committed by Danny Goodman<goodman.danny@gmail.com>:
fix error format

---
Commit b3f33ad46 authored by Yao Zhang<yaozhang@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make changes to prepare for the fused option of batch norm to be set to None (None means using fused batch norm if possible).

PiperOrigin-RevId: 159649743

---
Commit a4a469832 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Add tests for select ops and while loops that produce tuples that contain predicates.

PiperOrigin-RevId: 159645900

---
Commit 980d3f2be authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use C API to implement Operation.name property

This name property is used in many existing tests including those that
already run with C API enabled (math_ops_test, framework_ops_test,
session_test, session_partial_run_test, math_ops_test_gpu, etc).

PiperOrigin-RevId: 159645767

---
Commit 26239c706 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Previously we didn't have an implementation of BatchNormInference and BatchNormTraining, which gives a linker error if anyone ever tries to call that. A dummy implementation is friendlier than a linker error.

PiperOrigin-RevId: 159645612

---
Commit f671c5caa authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 159570549

PiperOrigin-RevId: 160182040
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
46737e4e81314f7482bfd6a710f126a27f5d7975 19-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Remove class xla::LiteralUtil. NFC (mind-numbingly so).

This patch removes class xla::LiteralUtil and rewrites every call to use class
xla::Literal instead.
PiperOrigin-RevId: 159446373
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
fb6cd75eaed4ba594184153e7bfb503319bb2489 13-Jun-2017 Blake Hechtman <blakehechtman@google.com> [XLA] Simplify binary concatenates of broacasted scalars into high or low pad
operations.

PiperOrigin-RevId: 158899651
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
9641b8edab3113f5bb83b5491de747dc9a43fe01 09-Jun-2017 Eli Bendersky <eliben@google.com> [XLA] Switch HloTestBase-based tests to use new debug options flag.

PiperOrigin-RevId: 158522608
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
599727c654aac53ee6f290b3d5e36c0e0852e951 07-Jun-2017 Eli Bendersky <eliben@google.com> [XLA] Propagate debug option flags to hlo_test_base.

Specific HLO tests have to replace the generic test_main target with a manual
main() that invokes RUN_ALL_TESTS.

To get access to a module with debug options set up, a new convenience method
is created on HloTestBase.

Initially algebraic_simplifier_test is modified as a canary; in a followup
we'll convert all HLO tests to this approach.

PiperOrigin-RevId: 158309488
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
7aac2395ce92ad9f280a30c0ce110b9fcf494668 31-May-2017 Blake Hechtman <blakehechtman@google.com> Merge a copies of copies.

PiperOrigin-RevId: 157549434
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
947fc02a3bfc9bbddac37be2a252c9b7f1b3598b 11-May-2017 Bjarke Hammersholt Roune <broune@google.com> Fold Pad into ReduceWindow.

PiperOrigin-RevId: 155705565
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
0774317eedf667d74110bb639eb4dfe46ee8cc5d 02-May-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Refactor constant folding operations into a dedicated module

Refactor constant folding operations into a dedicated module, and added a new
ReplaceInstruction() API to collapse { computation->ReplaceInstruction();
changed=true}.
Change: 154857025
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
ac16d8010dbf9df48d91201cc4e7d34cdc5eb406 28-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Check for broadcast literal values in addition to constants in simplifier.
Change: 154567986
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
ab3223ef812601f86c611277adef3c33963d5efc 27-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> [TF:XLA] Implemented slice() constant folder.

If the operand of a slice operation is a constant literal, replace the slice HLO instruction with a new constant literal which represents the sliced tensor.
Change: 154432818
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
15a275969af7a8e485bdae9e153484ca5c616108 27-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> [TF:XLA] Added handling for concatenation operation constant folding.
Change: 154424221
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
341141a48bea3e39c76ed36e9015bd9ab67a6463 26-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Eliminate empty operands of concat operations at the HLO level
Change: 154348912
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
6656c28260ae93a24d032b44cb96aca87c8d350a 18-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Eliminate unary concatenates in the AlgebraicSimplifier.
Change: 153410715
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
efce4a0452f1eba55fd35a22d20249f449f0debe 14-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> Added and using GMock matcher for HloInstruction
Change: 153159175
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
5c8acccfc9e90d694a8394f5522097bfe87379b2 11-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> Using GMock matchers in XLA tests.
Change: 152823724
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
a352cba4a60aa99af9c817a792aae3e03e1b74a6 11-Apr-2017 Jonathan Hseu <jhseu@google.com> Fix a segfault in AlgebraicSimplifierVisitor.
Change: 152743270
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
d599e9615237326bfb94a37a186fb495b0901ad6 06-Apr-2017 A. Unique TensorFlower <gardener@tensorflow.org> Fixed test. ('broadcast_dims' has size 1)
Change: 152383633
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
7aee42ce9f2da034910dc8567a2e5143d90228a0 30-Mar-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Remove reversal-of-solely-trivial-dimensions instructions.
Change: 151741816
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
3088d3664a99e7cb81ee190f4d65f4bd10407f42 29-Mar-2017 David Majnemer <majnemer@google.com> [XLA] Move kPad from GpuElementalIrEmitter::MakeElementGenerator to ElementalIrEmitter::MakeElementGenerator

There is nothing GPU specific in GpuElementalIrEmitter::MakeElementGenerator
for kPad. Move it into the base implementation so that all subcalses have it as
an implementation.
Change: 151564674
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
e04ca3acc2b1ba54d4d66677e6a84e2bf3c30907 28-Feb-2017 Blake Hechtman <blakehechtman@google.com> Ensures Bitcast is not performed between different elment sizes.
Removes restrictive requirement that replacing an operand requires
compatible shapes which is not true with broadcast optimizations.
Change: 148786513
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
f4beee5076fc52c60491085f4be9885588f2e4c8 25-Jan-2017 Mark Heffernan <meheff@google.com> Internal-only change
Change: 145590752
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
f9006d72eb8541e7ca898de39747f26c4d5995f6 25-Jan-2017 A. Unique TensorFlower <gardener@tensorflow.org> [XLA] Make `HloPass` an interface, NFC

This will allow inheritance from both `HloPassInterface` and `DfsHloVisitor`, so various passes which include a visitor can have handler methods overridden per backend.
Change: 145477041
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
5aed36230aaa8e727990f1b8e37c82bed8b5356f 24-Jan-2017 Mark Heffernan <meheff@google.com> Improve support for pad instructions with negative padding.

Define semantics of negative padding in the Pad instruction to be identical to padding inside of convolution operation ConvWithGeneralPadding. Also make negative padding work in the backends.

Specific changes:
(1) Add transformation to algebraic simplifier which replaces negative padding with slices.
(2) fix ReferenceUtil to properly handle negative padding and interior padding.
(3) Add negative padding explanation to operation semantics g3doc.
(4) Extend LayoutsInShapesEqual and CopyLayoutBetweenShapes to work with shapes which are not exactly compatible but have the same rank and tuple structure.
Change: 145355127
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc
1e67c90e2caceeff82d09793d1ef5fa0300d219b 09-Jan-2017 Peter Hawkins <phawkins@google.com> Initial open-source release of XLA: Accelerated Linear Algebra.

XLA is a compiler-based linear algebra execution engine that targets CPUs, GPUs and custom accelerators.

XLA is still experimental; we are releasing it early to get the community involved.
Change: 143990941
/external/tensorflow/tensorflow/compiler/xla/service/algebraic_simplifier_test.cc