aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/api_def
Commit message (Collapse)AuthorAge
* Add 'remove' operation to MutableHashTable and MutableDenseHashTable.Gravatar A. Unique TensorFlower2018-10-09
| | | | PiperOrigin-RevId: 216443201
* Add RaggedTensors to tf.core. Moving the RaggedGather op kernel.Gravatar A. Unique TensorFlower2018-10-09
| | | | PiperOrigin-RevId: 216400726
* [tf.data] NUMA-aware MapAndBatch dataset.Gravatar Brennan Saeta2018-10-09
| | | | PiperOrigin-RevId: 216395709
* Create SDCAOptimizerV2 op to fix the "adaptative" typo.Gravatar Yuefeng Zhou2018-10-09
| | | | PiperOrigin-RevId: 216370193
* Remove deprecations for some of the endpoints in ApiDef files. These changesGravatar Anna R2018-10-08
| | | | | | | | | | | | | | | are made according to https://github.com/tensorflow/community/pull/16. I am keeping a few symbols deprecated not mentioned in the doc: tf.diag - it seems best to keep it next to tf.linalg.diag, so that the two are easy to compare and decide which one to use. The plan is to rename tf.diag to tf.tensor_diag. tf.is_nan - similar to tf.is_inf, tf.is_finite, tf.is_numeric_tensor which are all getting deprecated and replaced by symbols in tf.debugging. tf.string_to_number - other string endpoints in root namespace are getting deprecated: for e.g. tf.substr, tf.string_join. tf.dequantize - all quantization ops should be under tf.quantize. I probably missed this one. tf.check_numerics - similar to other debugging ops that are getting moved to tf.debugging. tf.squared_difference - moved to tf.math namespace and not as popular as some other math ops such as tf.add to justify keeping endpoint in root. tf.decode_raw - similar to other ops such as tf.decode_csv that are getting moved to tf.io.decode_csv. PiperOrigin-RevId: 216278010
* Merge pull request #21658 from lowintelligence:masterGravatar TensorFlower Gardener2018-10-08
|\ | | | | | | PiperOrigin-RevId: 216217509
* \ Merge pull request #22386 from girving:statelessGravatar TensorFlower Gardener2018-10-05
|\ \ | | | | | | | | | PiperOrigin-RevId: 215995215
| * | Expand stateless random generators to match their stateful cousinsGravatar Geoffrey Irving2018-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | stateless_random_uniform now take minval+maxval and handles ints, and stateless_normal/stateless_truncated_normal take mean+stddev. Additionally, all of the stateless functions now have proper doc strings. This is step one of moving stateless random numbers out of contrib.
* | | Add apidefs for the list ops.Gravatar Dan Moldovan2018-10-04
| | | | | | | | | | | | PiperOrigin-RevId: 215802845
* | | [tf.data] Add a notion of `captured args` to MapDefunGravatar Rachel Lim2018-10-04
| | | | | | | | | | | | PiperOrigin-RevId: 215788485
* | | Add "encoding" attribute to string substr op, which controls how each ↵Gravatar A. Unique TensorFlower2018-10-04
|/ / | | | | | | | | | | | | | | | | | | "character" is treated: * BYTE: Position & length refer to bytes in the string. (Default) * UTF8: The string is interpreted as UTF-8 encoded Unicode code points, and position & length are treated relative to them. RELNOTES: Add option to get substring using Unicode characters PiperOrigin-RevId: 215773373
* | Export endpoint for the version of the `regex_replace` function that calls ↵Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | StaticRegexReplace. PiperOrigin-RevId: 215371291
* | [tf.data] Deprecate `tf.contrib.data` and introduce `tf.data.experimental` ↵Gravatar Derek Murray2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to replace it. This change prepares `tf.data` for TensorFlow 2.0, where `tf.contrib` will no longer exist. It retains the pre-existing endpoints in `tf.contrib.data` with deprecation warnings. Note there are some exceptions to the move: * Deprecated symbols in `tf.contrib.data` have not been moved to `tf.data.experimental`, because replacements already exist. * `tf.contrib.data.LMDBDataset` has not been moved, because we plan to move it to a SIG-maintained repository. * `tf.contrib.data.assert_element_shape()` has not yet been moved, because it depends on functionality in `tf.contrib`, and it will move in a later change. * `tf.contrib.data.AUTOTUNE` has not yet been moved, because we have not yet determined how to `tf_export()` a Python integer. * The stats-related API endpoints have not yet appeared in a released version of TensorFlow, so these are moved to `tf.data.experimental` without retaining an endpoint in `tf.contrib.data`. In addition, this change includes some build rule and ApiDef refactoring: * Some of the "//third_party/tensorflow/python:training" dependencies had to be split in order to avoid a circular dependency. * The `tf.contrib.stateless` ops now have a private core library for the generated wrappers (and accordingly are hidden in their ApiDef) so that `tf.data.experimental.sample_from_datasets()` can depend on them. PiperOrigin-RevId: 215304249
* | [tf.data] Move `tf.contrib.data` C++ code to a core "experimental" directory.Gravatar Derek Murray2018-09-28
| | | | | | | | | | | | | | | | NOTE: All ops and kernels previously previously defined in tensorflow/contrib/data have had their name prefixed with "Experimental" to indicate that they are not (yet) stable, and thus not subject to backwards or forwards compatibility guarantees. PiperOrigin-RevId: 214940819
* | Fix a latex render nitGravatar Brian Patton2018-09-28
| | | | | | | | PiperOrigin-RevId: 214940748
* | [tf.data Introducing tf.data.Dataset.reduce() which reduces elements of a ↵Gravatar Jiri Simsa2018-09-27
| | | | | | | | | | | | (finite) dataset to a single element. PiperOrigin-RevId: 214852364
* | Add tf.strings.unicode_script, which detects the script of a unicode codepointGravatar A. Unique TensorFlower2018-09-27
| | | | | | | | | | | | based on standard ranges. PiperOrigin-RevId: 214796357
* | Add xlogy and xdivy op.Gravatar A. Unique TensorFlower2018-09-26
| | | | | | | | PiperOrigin-RevId: 214700693
* | Deprecate tf.manip endpoints instead of endpoints under tf.*. This change isGravatar Anna R2018-09-26
| | | | | | | | | | | | according to https://github.com/tensorflow/community/pull/16. PiperOrigin-RevId: 214680285
| * Merge remote-tracking branch 'origin'Gravatar Cao Zongyan2018-09-26
| |\ | |/ |/|
* | Add "encoding" attribute to string length op, which controls how "string ↵Gravatar A. Unique TensorFlower2018-09-25
| | | | | | | | | | | | | | | | | | | | length" is defined: * BYTE: The number of bytes in each string. (Default) * UTF8: The number of UTF-8 encoded Unicode code points in each string. RELNOTES: Add option to calculate string length in Unicode characters PiperOrigin-RevId: 214478470
* | Merge pull request #21715 from hsgkim:volume_patchesGravatar TensorFlower Gardener2018-09-23
|\ \ | | | | | | | | | PiperOrigin-RevId: 214177065
* | | Moving MultiDeviceIterator from contrib to core.Gravatar Rohan Jain2018-09-23
| | | | | | | | | | | | PiperOrigin-RevId: 214173896
* | | Add searchsorted (ie lower/upper bound) op.Gravatar A. Unique TensorFlower2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213863392
* | | This CL adds a new `tf.print` operator that more closely aligns with the ↵Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | standard python `print` method, and deprecates the old `tf.Print` operator (to be removed in in v2.0). It follows the design doc specified in https://github.com/tensorflow/community/pull/14 and additionally incorporates the community feedback and design review decisions. This CL adds two new internal graph operators: a StringFormat operator that formats a template string with a list of input tensors to insert into the string and outputs a string scalar containing the result, and a PrintV2 operator that prints a string scalar to a specified output stream or logging level. The formatting op is exposed at `tf.strings.Format`. A new python method is exposed at `tf.print` that takes a list of inputs that may be nested structures and may contain tensors, formats them nicely using the formatting op, and returns a PrintV2 operator that prints them. In Eager mode and inside defuns this PrintV2 operator will automatically be executed, but in graph mode it will need to be either added to `sess.run`, or used as a control dependency for other operators being executed. As compared to the previous print function, the new print function: - Has an API that more closely aligns with the standard python3 print - Supports changing the print logging level/output stream - allows printing arbitrary (optionally nested) data structures as opposed to just flat lists of tensors - support printing sparse tensors - changes printed tensor format to show more meaningful summary (recursively print the first and last elements of each tensor dimension, instead of just the first few elements of the tensor irregardless of dimension). PiperOrigin-RevId: 213709924
* | | [tf.data] Introducing `tf.data.Dataset.window(size, shift, stride, ↵Gravatar Jiri Simsa2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | drop_remainder)`, which can be used for combining elements of input dataset into "windows". A window is itself a finite dataset and, among other things, can be used for generalized batching (see https://github.com/tensorflow/community/pull/5 for details). PiperOrigin-RevId: 213360134
* | | Consistency in record_default shapes for tf.contrib.data.CsvDataset & ↵Gravatar Rachel Lim2018-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tf.decode_csv: - Modify shape assertions so that both graph and eager accept rank 0 (scalar) and rank 1 tensors as `record_defaults`, and raise an error on other shapes. - Make tests run in both graph and eager modes Fixes #22030. PiperOrigin-RevId: 212877058
* | | Support passing a negative position to substr. If the position is negative, ↵Gravatar A. Unique TensorFlower2018-09-12
| | | | | | | | | | | | | | | | | | | | | the start of the substring will be counted backwards from the end of the string. RELNOTES: Support negative positions for tf.substr PiperOrigin-RevId: 212720335
* | | [tf.data] Mechanism for collecting processing time information and modeling ↵Gravatar Jiri Simsa2018-09-11
| | | | | | | | | | | | | | | | | | performance. PiperOrigin-RevId: 212557406
* | | Move Quantile Stream Resource to core.Gravatar Zhenyu Tan2018-09-11
| | | | | | | | | | | | | | | | | | | | | Allow each Resource to manage multiple streams that share the same quantile config -- number of quantiles and epsilon. Previously each resource manage only one stream, so we will have to create resources equal to the number of features, which is cumbersome when input is high dimensional. If 1000 features use 100 quantiles (which is hardcoded today), then 1000 resources is required. This cl will create the number of resources linear to the number of parameter servers, if 2 parameter servers are present, then only 2 resources is required, one for each ps. Remove time stamp token as the ops are called once. PiperOrigin-RevId: 212533735
| | * Merge remote-tracking branch 'origin'Gravatar Cao Zongyan2018-09-11
| | |\ | |_|/ |/| |
* | | [tf.data] Adding support for `num_parallel_calls` to ↵Gravatar Jiri Simsa2018-09-06
| | | | | | | | | | | | | | | | | | | | | | | | `tf.data.Dataset.interleave`. Unlike the `tf.data.contrib.parallel_interleave` whose parallelism is tied to the `cycle_length` argument, the newly introduced `num_parallel_calls` argument of `tf.data.Dataset.interleave` is decoupled from the `cycle_length` argument and identifies the degree of parallelism to use for fetching output elements. PiperOrigin-RevId: 211886816
| * | fix documentation errorsGravatar Hoeseong Kim2018-09-07
| | |
* | | Add StaticRegexFullMatch which can be used in place of RegexFullMatch when ↵Gravatar A. Unique TensorFlower2018-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | the regex pattern are fixed. This allows the Op to perform the expensive regex compilation once upon creation instead of with each call to compute. RELNOTES: Performance improvements for regex full match operations. PiperOrigin-RevId: 211835278
* | | Documentation fix for tf.regex_full_matchGravatar A. Unique TensorFlower2018-09-06
| | | | | | | | | | | | | | | | | | RELNOTES: n/a PiperOrigin-RevId: 211798892
* | | Documentation fixes for segment_* and unsorted_segment_* opsGravatar A. Unique TensorFlower2018-09-06
| | | | | | | | | | | | | | | | | | RELNOTES: n/a PiperOrigin-RevId: 211798876
| | * Avoid golden API file changing.Gravatar Cao Zongyan2018-09-05
| | |
* | | Fix formatting for StridedSlice op.Gravatar Reed Wanderman-Milne2018-08-31
| | | | | | | | | | | | | | | | | | Hopefully this makes the formatting of the end of https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/strided-slice not look messed up. PiperOrigin-RevId: 211132208
* | | Add a batch sequence example parsing op, part 2.Gravatar Patrik Sundberg2018-08-31
| | | | | | | | | | | | PiperOrigin-RevId: 211082479
* | | TensorListScatter and TensorListGatherGravatar Alexandre Passos2018-08-30
| | | | | | | | | | | | | | | | | | This closes one API hole between TensorList and TensorArray PiperOrigin-RevId: 210932049
* | | [data-stats] Deletes deprecated `feature_stats` transformation to collect ↵Gravatar Shivani Agrawal2018-08-29
| | | | | | | | | | | | | | | | | | `features` and `feature-values` count statistics. PiperOrigin-RevId: 210828171
* | | Adds a tf.ensure_shape function as a substitute for tensor.set_shape, which ↵Gravatar Rachel Lim2018-08-28
| | | | | | | | | | | | | | | | | | validates the true shape of the tensor at runtime. PiperOrigin-RevId: 210570878
* | | Merge pull request #21552 from sbrodehl:patch-1Gravatar TensorFlower Gardener2018-08-27
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 210392464
* | | | Deprecate C++ kernel for matrix exponential, which is now implemented as a ↵Gravatar A. Unique TensorFlower2018-08-24
| | | | | | | | | | | | | | | | | | | | | | | | python function. PiperOrigin-RevId: 210180168
| | | * Refine LeakyRelu codes and update APIs.Gravatar Cao Zongyan2018-08-24
| | | |
* | | | [tf.data] Implements `dataset` transformation `parse_example_dataset(..)` ↵Gravatar Shivani Agrawal2018-08-22
| | | | | | | | | | | | | | | | | | | | | | | | which will replace dataset.map(parsing_ops.parse_example(..)). PiperOrigin-RevId: 209836033
* | | | Setting the tf2 namespace to prefer variable.assign and friends over tf.assignGravatar Alexandre Passos2018-08-21
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 209627830
* | | | Add `batch_scatter_update`, analogous to `batch_gather`.Gravatar Adria Puigdomenech2018-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This operation computes: ref[i_1, ..., i_n, indices[i_1, ..., i_n, j]] = updates[i_1, ..., i_n, j] That is, it assumes that `ref`, `indices` and `updates` have a series of leading dimensions that are the same for all of them, and the updates are performed on the last dimension of indices. PiperOrigin-RevId: 209566652
* | | | Merge pull request #21621 from facaiy:CLN/add_div_no_nan_opGravatar TensorFlower Gardener2018-08-20
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 209508149
| | | * | Implement extract_volume_patchesGravatar Hoeseong Kim2018-08-20
| | | | |