STT-tensorflow/tensorflow/core/api_def
Andrew Audibert 706350f023 [tf.data service] Implement round-robin reads.
This enables a new mode of reading from the tf.data service, where consumers read from tasks in a coordinated fashion, instead of the normal first-come first-served.

The main use case for this is coordinated bucketization for synchronous training, where we want to ensure that at each step consumers get batches with elements of similar sizes. This mitigates the inefficiency of some consumers slowly training on large examples while others quickly train on small examples, then block waiting for the slower examples to be processed.

When `consumer_index` and `num_consumers` are specified to `distribute`, each task will enforce a strict round-robin order, where its first element goes to consumer 0, second element to consumer 1, and so on. This requires that all consumers consume the same number of elements.

PiperOrigin-RevId: 351625063
Change-Id: I9b400f55ad61406cb125af8225096e7ff5dc4b0c
2021-01-13 11:29:05 -08:00
..
base_api [tf.data service] Implement round-robin reads. 2021-01-13 11:29:05 -08:00
java_api Create a V2 Op to stop the gradient when the input is out of range. 2020-10-12 10:39:36 -07:00
python_api Rolling forward change by fixing issue with lack of dispatch for & and | 2020-12-02 00:09:03 -08:00
api_test.cc Make use of GetDataDependencyFilepath and io::JoinPath to be operating system independent. 2020-02-13 15:39:58 -08:00
BUILD Create BUILD files and corresponding targets for tensorflow/core/api_def/base_api. 2020-11-20 16:06:49 -08:00
excluded_ops.cc
excluded_ops.h
README.md Provide information to users about where the canonical documentation of ops is. 2020-09-21 09:09:48 -07:00
update_api_def_main.cc
update_api_def_test.cc
update_api_def.cc
update_api_def.h
update_api_def.sh

This folder contains the ApiDef proto definitions of TensorFlow operations.

The canonical source of documentation for these operations can be found in the base_api/ directory.