diff options
author | 2018-07-20 13:50:37 -0700 | |
---|---|---|
committer | 2018-07-20 13:53:55 -0700 | |
commit | e542062aa1613dc01b82b6378675563160fe0abf (patch) | |
tree | 15ce2b045f53f2f610a563e8d0091d96d2db2f4c /tensorflow/docs_src | |
parent | 265292420de30f24805d28886d403dc42d3685b3 (diff) |
Start implementation of Iota HLO.
PiperOrigin-RevId: 205447892
Diffstat (limited to 'tensorflow/docs_src')
-rw-r--r-- | tensorflow/docs_src/performance/xla/operation_semantics.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tensorflow/docs_src/performance/xla/operation_semantics.md b/tensorflow/docs_src/performance/xla/operation_semantics.md index 68c427a316..d6fa8ab5f9 100644 --- a/tensorflow/docs_src/performance/xla/operation_semantics.md +++ b/tensorflow/docs_src/performance/xla/operation_semantics.md @@ -1293,6 +1293,19 @@ Infeed of the device. > which case the compiler will provide information about how the Infeed > operations are serialized in the compiled program. +## Iota + +<b> `Iota()` </b> + +Builds a constant literal on device rather than a potentially large host +transfer. Creates a rank 1 tensor of values starting at zero and incrementing +by one. + +Arguments | Type | Semantics +------------------ | --------------- | --------------------------- +`type` | `PrimitiveType` | type U +`size` | `int64` | The number of elements in the tensor. + ## Map See also |