Return selected values in the TensorArray as a packed `Tensor`. All of selected values must have been written and their shapes must all match. Args: indices: A `1-D` `Tensor` taking values in `[0, max_value)`. If the `TensorArray` is not dynamic, `max_value=size()`.
(self, indices, name=None)
| 1098 | return self._implementation.stack(name=name) |
| 1099 | |
| 1100 | def gather(self, indices, name=None): |
| 1101 | """Return selected values in the TensorArray as a packed `Tensor`. |
| 1102 | |
| 1103 | All of selected values must have been written and their shapes |
| 1104 | must all match. |
| 1105 | |
| 1106 | Args: |
| 1107 | indices: A `1-D` `Tensor` taking values in `[0, max_value)`. If |
| 1108 | the `TensorArray` is not dynamic, `max_value=size()`. |
| 1109 | name: A name for the operation (optional). |
| 1110 | |
| 1111 | Returns: |
| 1112 | The tensors in the `TensorArray` selected by `indices`, packed into one |
| 1113 | tensor. |
| 1114 | """ |
| 1115 | return self._implementation.gather(indices, name=name) |
| 1116 | |
| 1117 | def concat(self, name=None): |
| 1118 | """Return the values in the TensorArray as a concatenated `Tensor`. |
no outgoing calls