aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/op_def_builder.cc
Commit message (Collapse)AuthorAge
* Bunch of micro move optimizationsGravatar Piotr Padlewski2018-09-28
| | | | PiperOrigin-RevId: 215018984
* Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-08-28
| | | | PiperOrigin-RevId: 210565027
* Replaced calls to tensorflow::StringPiece::ToString with std::string ↵Gravatar A. Unique TensorFlower2018-05-07
| | | | | | | | | | conversions. That is, instances of sp.ToString() are replaced with std::string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 195689392
* 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: 191314576
* TF OpDefBuilder: support compound types when using tuple restrictions.Gravatar Eugene Brevdo2017-09-08
| | | | | | | Can now use type restrictions of the form 'attr("T: {numbertype, bool, string}")'. PiperOrigin-RevId: 168003571
* Prepare to remove a bunch of proto.h includes from tensorflow/core headersGravatar Geoffrey Irving2017-06-29
| | | | | | | | | | | | The goal is to make kernels mostly independent of proto headers, which will let us lock down our .so imports. This CL does not remove any actual headers, but changes a bunch of files so that header removal is possible in a followup CL. It also marks the headers that will be removed with // TODO(b/62899350): Remove RELNOTES: n/a PiperOrigin-RevId: 160552878
* All ops which directly touch resources are marked as stateful.Gravatar A. Unique TensorFlower2017-01-24
| | | | Change: 145462646
* Change OpDefBuilder's SetShapeFn to take a function pointer instead of anGravatar A. Unique TensorFlower2016-07-19
| | | | | std::function. This simplifies the calling and reduces the amount of templated code generated. Change: 127860029
* In C++ shape inference, support registering a shape inference function in OPGravatar A. Unique TensorFlower2016-06-14
| | | | | | | | | registration. Change op registration signature to return Status and return the registration data as an out parameter. Add a shape inference function and test for AddN. Support in function library needs to be expanded in a future change. Change: 124871850
* Update copyright for 3p/tf/core.Gravatar A. Unique TensorFlower2016-06-02
| | | | Change: 123900938
* Add a .Deprecated method to REGISTER_OPGravatar Geoffrey Irving2016-04-20
| | | | | | | | This replaces the OP_DEPRECATED macro with something declarative, which in particular lets us throw exceptions at graph construction time based on deprecation. I've left the OP_DEPRECATED macro around in case uses elsewhere can't be expressed in a purely declarative manner. Change: 120386133
* Change safe_strto32 and safe_strto64 to accept StringPiece. Updates callers toGravatar A. Unique TensorFlower2016-03-11
| | | | | pass the StringPiece values. Change: 117027762
* Change OpDefBuilder to use safe_strto64 for parsing numbers, insteadGravatar A. Unique TensorFlower2016-03-10
| | | | | of doing it itself (incorrectly on mac). Change: 116897392
* On android, don't preserve doc strings for registered ops. In a binary thatGravatar A. Unique TensorFlower2016-03-10
| | | | | | | | | | doesn't filter op registrations, this saves >185k. Also, this may save a few cycles during startup for mobile (untested), since the doc string won't be parsed. This introduces use of a TF_LEAN_BINARY macro that we can use to control other such options. Change: 116889235
* Replace uses of RE2 with Scanner, for sources that are used on mobile.Gravatar A. Unique TensorFlower2016-03-09
| | | | | | | | | | | This CL also adds the Scanner class to do simple scans over strings, to mimic regexp behavior like [a-zA-Z][a-zA-Z0-9]* with: Scanner scan(s); scan.One(Scanner::LETTER); scan.Any(Scanner::LETTER_DIGIT); bool matched = scan.GetResult(); Change: 116803757
* 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
* Added 'logging' import to control_flow_ops which is used in the file but not ↵Gravatar A. Unique TensorFlower2016-01-05
| | | | | | imported. Change: 110842260
* 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