Enqueues a tuple operation onto the computation. Args: elems: a sequence of tuple operands (each a XlaOp). Returns: An XlaOp representing the added Tuple op.
(self, *elems)
| 1165 | return ops.DynamicUpdateSlice(operand, update, list(start_indices)) |
| 1166 | |
| 1167 | def Tuple(self, *elems): |
| 1168 | """Enqueues a tuple operation onto the computation. |
| 1169 | |
| 1170 | Args: |
| 1171 | elems: a sequence of tuple operands (each a XlaOp). |
| 1172 | |
| 1173 | Returns: |
| 1174 | An XlaOp representing the added Tuple op. |
| 1175 | """ |
| 1176 | return ops.Tuple(self._builder, list(elems)) |
| 1177 | |
| 1178 | def Call(self, computation_to_apply, operands): |
| 1179 | """Enqueues a call operation onto the computation. |
no outgoing calls