| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
tensorflow::str_util equivalents.
This will allow the deprecated methods to be removed.
PiperOrigin-RevId: 191316903
|
|
|
|
| |
PiperOrigin-RevId: 176695926
|
|
|
|
| |
PiperOrigin-RevId: 176622438
|
|
|
|
| |
PiperOrigin-RevId: 176621645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
176617057 by yifeif:
Internal change.
--
176615737 by yifeif:
Fix internal tests.
--
PiperOrigin-RevId: 176617057
|
|
|
|
| |
PiperOrigin-RevId: 176615107
|
|
|
|
|
|
| |
Uses MergeInput from shape_inference to check if the new input is compatible with the preexisting shape. Also this changes the MergeInput method. Previously, MergeInput would only return true if the shapes differed *and* the merge was successful. Now, MergeInput returns true only if the merge is successful.
PiperOrigin-RevId: 175576173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change:
- Implements the C API logic for Operation._add_control_inputs()
- Adds type-checking to Operation._add_control_input()
- Makes Graph::AddControlEdge() update the node def if necessary
- Makes Graph::AddControlEdge() a no-op if the control edge already exists
The AddControlEdge() changes may have a performance impact if anything
is sensitive to AddControlEdge(), but nothing is to my knowledge. I'm
not sure what benchmarks would confirm this.
PiperOrigin-RevId: 172158589
|
|
|
|
| |
PiperOrigin-RevId: 170147211
|
|
|
|
|
|
|
| |
It can be reimplemented with existing public APIs, but instead of doing so,
making this one public seems better.
PiperOrigin-RevId: 166407897
|
|
|
|
| |
PiperOrigin-RevId: 157724431
|
|
|
|
| |
PiperOrigin-RevId: 156315860
|
|
|
|
| |
PiperOrigin-RevId: 156251356
|
|
|
|
|
|
|
|
| |
This is one step towards replacing in-memory use of NodeDef with a customized
NodeInfo class. There are still quite a few Node::def() references, but far fewer than before. Those remaining require more work, either because they are part of kernel registration (which is a bunch of functions), copy and modify the NodeDef, etc. Follow-on CLs will remove more.
RELNOTES: n/a
PiperOrigin-RevId: 156244933
|
|
|
|
| |
PiperOrigin-RevId: 155511618
|
|
|
|
|
| |
This prevents a function from masking an existing op.
Change: 154720287
|
|
|
|
|
|
|
|
|
| |
In addition to modify graph_constructor.cc, this patch adds some other
functionality to enable importing fucntions:
* Ability to add FunctionDefLibraries to Graphs and
FunctionLibraryDefinitions (in addition to existing functions)
* FunctionDefsEqual() utility function
Change: 152205258
|
|
|
|
|
|
| |
edges to a node, indexed by input number.
Change: 145301512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by index. There are various locations in code where users currently
use iteration to find the edge by its already known index, and these
functions would be useful to accomplish.
In addition, this implements the equivalent functionality
of 'op.inputs[i]' in our python Operation class.
Given the new functionality, it exposed a weird use of NoOp for nodes
that actually had multiple inputs. Modified the test to use custom op
definitions to be more correct.
Currently this iterates over the edge list, which in the common case
will be fast and introduces no additional state to Node. In the future
we may want to revisit this.
Change: 131299794
|
|
|
|
| |
Change: 123900938
|
|
|
|
|
|
| |
graph optimization passes to add state to the graph for future passes
to consume.
Change: 119968551
|
|
|
|
| |
Change: 115511835
|
|
|
|
| |
Change: 113209117
|
|
|
|
|
| |
After this we can replace port.h with types.h.
Change: 112727463
|
|
|
|
| |
Change: 112523833
|
|
|
|
| |
Change: 112481326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* error message that refers to removed `DefaultSession` method.
* -Wnull-conversion warnings
* the "_start_time" attr for recvs when the flag "--brain_enable_scheduling_for_recvs" is set.
* typo in tutorial data download progress message.
* a typo ("however their installing"=>"however installing").
* typo, rename "TensorFlow Mechanics" to "How To" to be consistent with the website.
* a typo ("subtact"=>"subtract").
* protobuf examples in comments in tensorflow::Example.proto.
* formula formatting in MNIST beginner tutorial
* negative fraction-of-queue-full stats
* protobuf inclusion path so that Android demo will build under Blaze.
* small typo (moderatly > moderately)
* Session.run() to check that tensor arguments come from the session's graph.
* another six import
* seq2seq typo in bazel command
Base CL: 108349164
|
|
TensorFlow is an open source software library for numerical computation
using data flow graphs.
Base CL: 107276108
|