aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/graph/graph_test.cc
Commit message (Collapse)AuthorAge
* Replaced calls to deprecated tensorflow::StringPiece methods with theirGravatar A. Unique TensorFlower2018-04-02
| | | | | | | | tensorflow::str_util equivalents. This will allow the deprecated methods to be removed. PiperOrigin-RevId: 191316903
* Merge changes from github.Gravatar Yifei Feng2017-11-22
| | | | PiperOrigin-RevId: 176695926
* Automated g4 rollback of changelist 176615107Gravatar Yifei Feng2017-11-22
| | | | PiperOrigin-RevId: 176622438
* Automated g4 rollback of changelist 176615737Gravatar Yifei Feng2017-11-22
| | | | PiperOrigin-RevId: 176621645
* Merged commit includes the following changes:Gravatar A. Unique TensorFlower2017-11-22
| | | | | | | | | | | | | | | 176617057 by yifeif: Internal change. -- 176615737 by yifeif: Fix internal tests. -- PiperOrigin-RevId: 176617057
* Merge changes from github.Gravatar Yifei Feng2017-11-21
| | | | PiperOrigin-RevId: 176615107
* Validate shapes when updating edges from Python.Gravatar Olivia Nordquist2017-11-13
| | | | | | 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
* Enable Operation._add_control_inputs() with the C API and related improvementsGravatar Skye Wanderman-Milne2017-10-13
| | | | | | | | | | | | | | 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
* implementing _update_input for the C APIGravatar Olivia Nordquist2017-09-26
| | | | PiperOrigin-RevId: 170147211
* Make Graph::IsValidNode publicGravatar Igor Ganichev2017-08-24
| | | | | | | It can be reimplemented with existing public APIs, but instead of doing so, making this one public seems better. PiperOrigin-RevId: 166407897
* Preallocate vector storage when the ultimate vector size is known in advanceGravatar A. Unique TensorFlower2017-06-01
| | | | PiperOrigin-RevId: 157724431
* Automated g4 rollback of changelist 156251356Gravatar Geoffrey Irving2017-05-17
| | | | PiperOrigin-RevId: 156315860
* Automated g4 rollback of changelist 156244933Gravatar Geoffrey Irving2017-05-16
| | | | PiperOrigin-RevId: 156251356
* Reduce direct references to NodeDef in favor of Node and AttrSliceGravatar Geoffrey Irving2017-05-16
| | | | | | | | 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
* Remove unnecessary copies of value parameters.Gravatar Peter Hawkins2017-05-10
| | | | PiperOrigin-RevId: 155511618
* Make FunctionLibraryDefinition::AddFunctionDef() check for conflicting op nameGravatar Skye Wanderman-Milne2017-05-01
| | | | | This prevents a function from masking an existing op. Change: 154720287
* Make ImportGraphDef() work with functions.Gravatar Skye Wanderman-Milne2017-04-04
| | | | | | | | | 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
* Add a helper method Node::input_edges() that populates a vector of all input ↵Gravatar Peter Hawkins2017-01-23
| | | | | | edges to a node, indexed by input number. Change: 145301512
* Add to the C++ Node class the ability to fetch input nodes and edgesGravatar Vijay Vasudevan2016-08-25
| | | | | | | | | | | | | | | | | 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
* Update copyright for 3p/tf/core.Gravatar A. Unique TensorFlower2016-06-02
| | | | Change: 123900938
* Make it possible to add attributes to a graph Node. This will enableGravatar A. Unique TensorFlower2016-04-15
| | | | | | graph optimization passes to add state to the graph for future passes to consume. Change: 119968551
* Remove no-longer-needed RequireDefaultOps().Gravatar Josh Levenberg2016-02-25
| | | | Change: 115511835
* Adds Graph::num_nodes() and Graph::num_edges() for convenience.Gravatar A. Unique TensorFlower2016-01-27
| | | | Change: 113209117
* Move #include <vector> out of port.h to users of std::vector<>.Gravatar Josh Levenberg2016-01-21
| | | | | After this we can replace port.h with types.h. Change: 112727463
* Many tensorflow/core build clean ups.Gravatar Josh Levenberg2016-01-20
| | | | Change: 112523833
* Replacing reference 'names' variable with 'example_names' variable.Gravatar A. Unique TensorFlower2016-01-20
| | | | Change: 112481326
* TensorFlow: Improve performance of AlexnetGravatar Manjunath Kudlur2015-11-20
| | | | | | | | | | | | | | | | | | | | | | 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: Initial commit of TensorFlow library.Gravatar Manjunath Kudlur2015-11-06
TensorFlow is an open source software library for numerical computation using data flow graphs. Base CL: 107276108