aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/c_api_function_test.cc
Commit message (Collapse)AuthorAge
* Added forked versions of stateless If and While ops. They should only be used,Gravatar Mingsheng Hong2018-08-08
| | | | | | | | | | | when the if then/else body of If or the While body funcs do not have stateful ops. The are lowered to the same XLA ops. One use case is in the S4TF compiler: https://github.com/apple/swift/pull/18509 PiperOrigin-RevId: 207977126
* Added a C API to get a TF function name.Gravatar Mingsheng Hong2018-07-30
| | | | PiperOrigin-RevId: 206684358
* Fix argument comment in c_api_function_test.ccGravatar James Keeling2018-07-19
| | | | PiperOrigin-RevId: 205239285
* Decoupling hash and protobuf. This simplifies a little bit the dependency ↵Gravatar A. Unique TensorFlower2018-03-08
| | | | | | | | | | chain as we don't have to link protobuf libraries just to use basic hash functions. The case for deterministic serialization of protocol buffers if very specific and can be handled by a new header file. PiperOrigin-RevId: 188366713
* Don't fail if control dependency is on an input of the function.Gravatar Akshay Modi2018-02-08
| | | | PiperOrigin-RevId: 185049319
* Add TF_GraphNumFunctions and TF_GraphGetFunctionsGravatar Igor Ganichev2018-01-17
| | | | PiperOrigin-RevId: 182263576
* Merge changes from github.Gravatar Patrick Nguyen2017-12-28
| | | | PiperOrigin-RevId: 180301735
* Automated g4 rollback of changelist 178759398Gravatar Derek Murray2017-12-13
| | | | PiperOrigin-RevId: 178909147
* Automated g4 rollback of changelist 178675527Gravatar Derek Murray2017-12-12
| | | | PiperOrigin-RevId: 178759398
* Mark a FunctionDef's signature as stateful when it contains a stateful node.Gravatar Derek Murray2017-12-11
| | | | | | This fixes a bug where two calls to the same stateful function will erroneously be eliminated as common subexpressions. It is also a step towards pruning nodes from function bodies, which is necessary for a variety of `Dataset` optimizations. PiperOrigin-RevId: 178675527
* Add TF_GraphGetOpDef() to C API and use in Operation.op_def()Gravatar Skye Wanderman-Milne2017-10-18
| | | | | | | | | Note that this creates a small change in behavior with the C API enabled, since previously not all Python Operations had an OpDef (op_def() returns None). With the C API enabled, op_def() always returns an OpDef. PiperOrigin-RevId: 172634411
* Use void* intead of TF_Buffer in TF_FunctionImportFunctionDefGravatar Igor Ganichev2017-09-28
| | | | | | | void* is more common (and more convenient) for passing in serialized protobufs in c_api.h. PiperOrigin-RevId: 170386128
* Add append_hash_to_fn_name arg to TF_GraphToFunctionGravatar Igor Ganichev2017-09-28
| | | | PiperOrigin-RevId: 170379490
* implementing _update_input for the C APIGravatar Olivia Nordquist2017-09-26
| | | | PiperOrigin-RevId: 170147211
* Add function description parameter to TF_GraphToFunctionGravatar Igor Ganichev2017-09-20
| | | | PiperOrigin-RevId: 169421145
* Add attribute setting and getting support to TF_FunctionGravatar Igor Ganichev2017-09-19
| | | | PiperOrigin-RevId: 169337159
* Implement TF_FunctionImportFunctionDefGravatar Igor Ganichev2017-09-19
| | | | PiperOrigin-RevId: 169304057
* Support specifying output names during TF_Function creationGravatar Igor Ganichev2017-09-19
| | | | PiperOrigin-RevId: 169245946
* Add function gradient support to C APIGravatar Igor Ganichev2017-09-18
| | | | | | | | | | Also, change the internal representation of TF_Function and rename TF_GraphAddFunction to TF_GraphAddFunctionCopy to make it clear that a copy of the function is added to the graph. Any subsequent modifications to the function will not be reflected in the copy added to the graph. PiperOrigin-RevId: 169187793
* Add function support to Tensorflow C APIGravatar Igor Ganichev2017-08-30
This change adds minimal functionality. Support for FunctionOptions, attributes, output name rewriting, function name generation, etc is comming next. PiperOrigin-RevId: 167091238