aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fold Pad into ReduceWindow.Gravatar Bjarke Hammersholt Roune2017-05-11
| | | | PiperOrigin-RevId: 155705565
* Changes _ReplicaDeviceChooser to not set a task number on ops with a non-PS job.Gravatar A. Unique TensorFlower2017-05-11
| | | | PiperOrigin-RevId: 155705170
* Refactor webfiles rule name to web_libraryGravatar Justine Tunney2017-05-11
| | | | PiperOrigin-RevId: 155701631
* [TF:XLA] Make the function library a constructor-time option to XlaCompiler, ↵Gravatar Peter Hawkins2017-05-11
| | | | | | | | rather than a CompileFunction()/CompileGraph()-time option. In a subsequent change we plan to add a compilation cache to XlaCompiler, keyed on function name and signature. To avoid incorrect cache hits, we must not use different function libraries in the same XlaCompiler. This change refactors the API so the function library is passed once at construction time, making this invariant more obvious. PiperOrigin-RevId: 155701318
* [TF:XLA] Add XLA implementation of ResourceApplyAdam.Gravatar Peter Hawkins2017-05-11
| | | | | | Add a "graph" property to ResourceVariable for compatibility with Variable. PiperOrigin-RevId: 155701128
* Added ability to compute SCC for a graphdef.Gravatar Benoit Steiner2017-05-11
| | | | PiperOrigin-RevId: 155700672
* Decode raw op should return when input is empty.Gravatar Yuefeng Zhou2017-05-11
| | | | PiperOrigin-RevId: 155699009
* Estimates node completion times for a TF graph based on the op level analyticalGravatar Benoit Steiner2017-05-11
| | | | | | estimates. PiperOrigin-RevId: 155698917
* Add Plottable v3 to TensorBoard buildGravatar Justine Tunney2017-05-11
| | | | | | | | | This introduces a new macro, which is meant to work around the fact that ES6 imports don't work in the browser. This macro concatenates files, comments out import lines, and adds aliases if necessary. In other words, we're defining the ES6 module structure in the BUILD file, and ignoring what's in the .ts files. PiperOrigin-RevId: 155697059
* tfdbg CLI: add initial support for command "run -p": profiler modeGravatar Shanqing Cai2017-05-11
| | | | | | | | | Accompanying changes: * In list_profile / lp output, let the time unit be consistent across all ops, so that the results are easier to read. * Add the --time_unit option flag to list_profile / lp. * Add start time to the lp output table; allow sorting by start time. PiperOrigin-RevId: 155690128
* Move crossed_column to core.Gravatar A. Unique TensorFlower2017-05-11
| | | | PiperOrigin-RevId: 155687697
* Introduce one-off solution for vulcanizationGravatar Justine Tunney2017-05-11
| | | | | | | | | | | This is a simple Java script that inlines HTML, CSS, and JavaScript with minification. It tries its best to preserve @license data. The Skylark rule behaves the same as web_library(). It can be bazel run to get the development web server. It outputs the protobuf, because protobuf is awesome. PiperOrigin-RevId: 155686060
* Merged commit includes the following changes:Gravatar A. Unique TensorFlower2017-05-10
| | | | | | | | | | | | | | | | | | | 155673782 by ashankar <ashankar@google.com>: Windows: Fix bazel builds on Jenkins. PR #9580 added TF_NEED_MKL as an argument to the configure script. So that needs to be set before invoking it on Windows. -- 155671008 by A. Unique TensorFlower <gardener@tensorflow.org>: Internal change. -- PiperOrigin-RevId: 155673782
* Add support for _RealValuedVarLenColumn to ↵Gravatar A. Unique TensorFlower2017-05-10
| | | | | | {sequence_}input_from_feature_columns. PiperOrigin-RevId: 155670564
* Add a mechanism for ControlFlowContexts to notify outer contexts of nodes ↵Gravatar Peter Hawkins2017-05-10
| | | | | | | | | added in an inner context. [TF:XLA] Add checks for Ref types in encapsulate_subgraphs_pass. Add support for overriding the names of the functions generated by encapsulate_subgraphs_pass. Relax an over-zealous check when dumping a graph in function.cc PiperOrigin-RevId: 155669293
* Allows more properties in core RunConfig to be *mutated*.Gravatar Jianwei Xie2017-05-10
| | | | | | | | Also improve the usability that if save_checkpoint_steps is mutated, the save_checkpoint_secs should be set as None, and vice verse. Fixes #9795 PiperOrigin-RevId: 155668946
* Add ability to pass example keys through estimator and return them in the ↵Gravatar A. Unique TensorFlower2017-05-10
| | | | | | inference dict for TensorForest estimator. PiperOrigin-RevId: 155667839
* Add `weighted_categorical_column`.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155667634
* Add utilities to fuse specified nodes as remote fused graph nodesGravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155667448
* Java: Allow feeding and fetching colon-separated names.Gravatar Asim Shankar2017-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python, the string "<operation>:<index>" is referred to as the "tensor name" (see tf.get_tensor_by_name at https://www.tensorflow.org/api_docs/python/tf/Graph#get_tensor_by_name) and this string also appears in the saved model format as the key in the 'inputs' field of the 'SignatureDef' protocol buffer message. Accepting such names makes it easier to use saved models in Java (yes, I know it still isn't easy enough!) For example, using something like: import org.tensorflow.SavedModelBundle; import org.tensorflow.framework.MetaGraphDef; import org.tensorflow.framework.SignatureDef; // ... try (SavedModelBundle model = SavedModelBundle.load(exportDir, "serve")) { final SignatureDef sig = MetaGraphDef.parseFrom(model.metaGraphDef()) .getSignatureDefOrThrow(DEFAULT_SERVING_SIGNATURE_DEF_KEY); model.session().runner() .feed(sig.getInputsOrThrow("inputs").getName()) .fetch(sig.getOutputsOrThrow("outputs").getName()) .run()... } PiperOrigin-RevId: 155667400
* get_attr returns dtype objects instead of raw intsGravatar Vijay Vasudevan2017-05-10
| | | | | | | | | | | | Originally by @Mycosynth, but edited to make it work using integer conversion. Fixes #447. If this breaks you, do an explicit cast of the return of get_attr to int, if you are parsing a dtype object. PiperOrigin-RevId: 155661630
* Change soc op type id by input data types and add new hvx opsGravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155655617
* Create a TF_Graph alongside the Python graph.Gravatar Skye Wanderman-Milne2017-05-10
| | | | | | | | | | This is a first step towards porting the Python API to use the C API. As the Python Graph and Operations are constructed, an analogous TF_Graph and TF_Operations are created via SWIG. Currently nothing is done with the TF_Graph; a next step will be switching to the new TF_Session API which runs a TF_Graph directly (instead of a GraphDef). This new functionality is disabled by default and can be manually enabled by setting the _USE_C_API global in ops.py. For this patch I only enabled it for a single test file. I tried enabling it for all TF Python tests and manually disabling it for unsupported tests, but there were too many failing tests (although most tests passed). See ops.py for a TODO list of unsupported functionality. I benchmarked building an Inception model, and building the TF_Graph incurs a 20% overhead to the total graph construction time. Note that this patch does not remove any existing Python functionality; another next step will be recovering this time by removing redundant Python code. There is no measurable overhead with the new functionality disabled. PiperOrigin-RevId: 155655064
* Automated g4 rollback of changelist 152936284Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155652925
* Add `embedding_column`.Gravatar A. Unique TensorFlower2017-05-10
| | | | | | | | Add some pydoc to other columns. Add weight_collections tests for all columns. Rename embedding 'weights' -> 'embedding_weights', linear 'weight' -> 'weights', and linear 'bias_weight' -> 'bias_weights'. PiperOrigin-RevId: 155648428
* Merged commit includes the following changes:Gravatar A. Unique TensorFlower2017-05-10
| | | | | | | | | | | | | | | 155648333 by dumitru <dumitru@google.com>: Adding scope argument to slim's DatasetDataProvider. -- 155645726 by A. Unique TensorFlower <gardener@tensorflow.org>: Internal only change. -- PiperOrigin-RevId: 155648333
* Merged commit includes the following changes:Gravatar A. Unique TensorFlower2017-05-10
| | | | | | | | | | | | | | | 155643058 by cassandrax <cassandrax@google.com>: Add indicator_column (formerly known as one_hot_column) to core TensorFlow. -- 155642205 by A. Unique TensorFlower <gardener@tensorflow.org>: Internal change. -- PiperOrigin-RevId: 155643058
* Remove public op_def() access in op_kernel.hGravatar Geoffrey Irving2017-05-10
| | | | | | | This is step 1 towards removing protos from the op definition API. RELNOTES: Remove OpKernelConstruction::op_def() as part of minimizing proto dependencies. PiperOrigin-RevId: 155638924
* Fixes Markdown rendering of UTF-8 strings in text_plugin for Python 2.Gravatar A. Unique TensorFlower2017-05-10
| | | | | | Markdown does an internal conversion to unicode of any input string passed to it, which fails in case the string contains any non-ASCII characters. This fixes the problem by converting the string to unicode using UTF-8 encoding beforehand. PiperOrigin-RevId: 155638665
* [TF:XLA] Split options that pertain to an individual call to ↵Gravatar Peter Hawkins2017-05-10
| | | | | | | | XlaCompiler::CompileGraph() or XlaCompiler::CompileFunction() out of XlaCompiler::Options into a separate XlaCompiler::CompileOptions. Remove the 'prune_unreachable_nodes' options since it was unused. PiperOrigin-RevId: 155636247
* [TF:XLA] Optimize the LiteralUtil::Convert() API and some refactoringGravatar A. Unique TensorFlower2017-05-10
| | | | | | | | | | Optimized the LiteralUtil::Convert() API to use flat scan over the source and destination literal values. Performance boost varies with size. A F32->F64 Convert() of a {32, 64, 64, 64} went from ~35s to ~500ms. Added unittest for LiteralUtil::Convert(). Moved some common/repeated code into a new StrideConfig class. PiperOrigin-RevId: 155624212
* Migrate the tf_graph_dashboard component to use webfiles.Gravatar A. Unique TensorFlower2017-05-10
| | | | | | Also removed the unused tf_graph_info component. PiperOrigin-RevId: 155591143
* [XLA] Use a templated Visitor for typed evaluation, instead of switching on ↵Gravatar A. Unique TensorFlower2017-05-10
| | | | | | | | opcode twice. PiperOrigin-RevId: 155588986
* Make pprof definition deterministicGravatar Justine Tunney2017-05-10
| | | | PiperOrigin-RevId: 155584393
* Remove initialize.h. The REGISTER_MODULE_INITIALIZER macro is used in only ↵Gravatar A. Unique TensorFlower2017-05-10
| | | | | | one place, and the relevant code is more readable (and not even meaningfully longer) without the macro. PiperOrigin-RevId: 155569181
* Fix a bug when applying stop_gradient() on the gradient of a while loop. It ↵Gravatar Yuan Yu2017-05-10
| | | | | | turned out that I really needed to have tf.gradients() to backprop correctly on the gradient loop even if we have a stop_gradient on it. So, with this CL, I suspect that we are epsilon away to support higher-order gradients for while loops. PiperOrigin-RevId: 155568884
* Added missing const qualifierGravatar Benoit Steiner2017-05-10
| | | | PiperOrigin-RevId: 155566351
* Add feature_column.parse_example_spec method.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155564265
* Fix android tests broken by sparse_cross_op.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155563563
* Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155560204
* Capture temporary device tensor, so it doesn't get deallocated before the ↵Gravatar A. Unique TensorFlower2017-05-10
| | | | | | kernel runs. PiperOrigin-RevId: 155555888
* Go: Update generated wrapper functions for TensorFlow ops.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155553956
* Fix formatting of some op descriptions. In most cases, this meansGravatar A. Unique TensorFlower2017-05-10
| | | | | | separating out a 1-line summary from the main description. PiperOrigin-RevId: 155553359
* Migrate the tf_graph_board component to use webfiles.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155552095
* Cleaned up the includes of the graph runner.Gravatar Benoit Steiner2017-05-10
| | | | PiperOrigin-RevId: 155548015
* Automated g4 rollback of changelist 155433842Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155541065
* Moved transform_features.Gravatar Mustafa Ispir2017-05-10
| | | | | | removed pylint lines from test. PiperOrigin-RevId: 155538004
* Docs: Cosmetic tweak to sample test code.Gravatar Asim Shankar2017-05-10
| | | | PiperOrigin-RevId: 155532810
* Go: Update generated wrapper functions for TensorFlow ops.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155525165
* Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2017-05-10
| | | | PiperOrigin-RevId: 155524343