| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 215288224
|
|
|
|
| |
PiperOrigin-RevId: 215287936
|
|
|
|
|
|
|
| |
They shouldn't help given the automatic control dependencies, and are tricky
to capture in the general case.
PiperOrigin-RevId: 215282837
|
|
|
|
| |
PiperOrigin-RevId: 215282721
|
|
|
|
| |
PiperOrigin-RevId: 215278033
|
|
|
|
|
|
| |
This removes the transitive keras and scipy dependencies in TensorFlow.
PiperOrigin-RevId: 215277190
|
|
|
|
| |
PiperOrigin-RevId: 215276816
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- EncodeArg in C instead of python.
- Also caches parsed device specs, and device spec hashes
- Adds a common way to register python types in C.
- Fastpath canonicalize function inputs when no kwargs are passed
- Set the func name attr directly instead of creating an op to wrap it.
- Rewrite IsAttrsHelper without caching
Before:
entry {
name: "MicroBenchmarks.benchmark_defun_matmul_2_by_2_CPU"
iters: 30000
wall_time: 101.803263028
extras {
key: "examples_per_sec"
value {
double_value: 9822.86785562
}
}
}
After:
entry {
name: "MicroBenchmarks.benchmark_defun_matmul_2_by_2_CPU"
iters: 30000
wall_time: 47.2899993261
extras {
key: "examples_per_sec"
value {
double_value: 21146.1199884
}
}
}
PiperOrigin-RevId: 215272962
|
|
|
|
| |
PiperOrigin-RevId: 215272497
|
|
|
|
| |
PiperOrigin-RevId: 215272308
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this change, the lowering pass assumed that the If op
functions would be available in the If op's graph. If the If op is
defined in a defun and then called via eager execution, the functions
will be in the eager context, but not in the defun's graph. This
change makes the lowering pass correctly use the function library
passed in by the caller via GraphOptimizationPassOptions.
PiperOrigin-RevId: 215271990
|
|
|
|
| |
PiperOrigin-RevId: 215269882
|
|
|
|
| |
PiperOrigin-RevId: 215266415
|
|
|
|
| |
PiperOrigin-RevId: 215266241
|
|
|
|
| |
PiperOrigin-RevId: 215263951
|
|
|
|
| |
PiperOrigin-RevId: 215259803
|
|\
| |
| |
| | |
PiperOrigin-RevId: 215258743
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215255826
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215254762
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/tensorflow/community/pull/16.
In addition to the changes in the doc, I made the following updates (these changes make sense to me and I didn't notice them when compiling the doc):
* deprecate saved_model.builder.SavedModelBuilder - replaced with saved_model.SavedModelBuilder
* deprecate python_io.tf_record_iterator - replaced with io.tf_record_iterator
* deprecate python_io.TFRecordWriter - replaced with io.TFRecordWriter
* move reduce_join to tf.string
PiperOrigin-RevId: 215253944
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215252408
|
| |
| |
| |
| |
| |
| | |
keras.SimpleRNNCell.
PiperOrigin-RevId: 215249611
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215248985
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215248737
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215246174
|
| |
| |
| |
| | |
PiperOrigin-RevId: 215243030
|
|\ \
| | |
| | |
| | |
| | |
| | | |
yongtang:22115-tf.contrib.image.transform-float16-gpu
PiperOrigin-RevId: 215240869
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 215239710
|
| | |
| | |
| | |
| | |
| | |
| | | |
requested device placement of the XlaLaunch op must be derived from the subgraph.
PiperOrigin-RevId: 215239672
|
| | |
| | |
| | |
| | |
| | |
| | | |
contain additional boilerplate later on. Unfortunately it could not be extended to include the error handling.
PiperOrigin-RevId: 215238369
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Where "X" is the parameter number. Previously, fusion parameter names including
the name of the original instruction which produced the value which was
confusing.
PiperOrigin-RevId: 215238171
|
| | |
| | |
| | |
| | |
| | |
| | | |
keras_preprocessing.
PiperOrigin-RevId: 215231309
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Use absolute links instead of relative links. Relative links
break when published on website.
- Correct NNAPI abbreviation.
PiperOrigin-RevId: 215225415
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
self.session().
* Move from self.test_session(graph=ops.Graph(), ...) to self.session(...) (semantically equivalent).
* Move from self.test_session() to self.cached_session(config=self.config) when run_in_graph_and_eager_modes(config=config) is set to be consistent between eager and non eager modes.
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 215216964
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215211485
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
--workspace path if provided.
This allows repositories that depend on TensorFlow to execute
'bazel run @org_tensorflow//:configure -- --workspace $(pwd)'
to configure TensorFlow.
END_PUBLIC
Before this change, the .tf_configure.bazelrc ended up in the bazel exec root, and 'bazel clean' would undo the configuration.
PiperOrigin-RevId: 215209207
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215200418
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(1) Skip UnaryOpComposition rewrite if the optimized graph needs to have a gradient registered for all nodes.
PiperOrigin-RevId: 215188461
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
context.
This resembles the behaviour for initializer ops.
PiperOrigin-RevId: 215187942
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215183847
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215179315
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Make parameter always defined before other instructions.
- Add extra indentations to the predecessor field in ToString() method to make it clear.
PiperOrigin-RevId: 215162840
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215161850
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #21719
PiperOrigin-RevId: 215154273
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215133508
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215120867
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215109054
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215083669
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215079134
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 215073641
|