MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Tuple

Method Tuple

tensorflow/compiler/xla/python/xla_client.py:1167–1176  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 5

QRMethod · 0.95
EighMethod · 0.95
SVDMethod · 0.95
testTupleMethod · 0.45
testGetTupleElementMethod · 0.45

Calls

no outgoing calls

Tested by 2

testTupleMethod · 0.36
testGetTupleElementMethod · 0.36