Home
last modified time | relevance | path

Searched refs:TUPLE (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/python_api/
Dxla_shape.py56 if element_type == xla_data_pb2.TUPLE:
75 return self.element_type() == xla_data_pb2.TUPLE
141 xla_data_pb2.TUPLE,
Dxla_literal.py31 if element_type == xla_data_pb2.TUPLE:
/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.cc89 case TUPLE: in BitWidth()
128 return primitive_type != PRIMITIVE_TYPE_INVALID && primitive_type != TUPLE && in IsArrayType()
Dliteral_util.cc137 case TUPLE: in Zero()
177 case TUPLE: in One()
221 case TUPLE: in MinValue()
261 case TUPLE: in MaxValue()
Dprimitive_util_test.cc36 expect_ok_and_equal("tuple", TUPLE); in TEST()
Dshape_util.cc99 if (element_type == OPAQUE || element_type == TUPLE) { in MakeShapeWithLayoutInternal()
239 result.set_element_type(TUPLE); in MakeTupleShape()
310 case TUPLE: in ElementIsSigned()
561 case TUPLE: in ByteSizeOfPrimitiveType()
573 if (shape.element_type() == TUPLE) { in ByteSizeOf()
594 CHECK_EQ(TUPLE, shape.element_type()); in ByteSizeOfTupleIndexTable()
628 if (shape.element_type() == TUPLE) { in ValidateShapeWithOptionalLayoutInternal()
Dshape.h57 bool IsTuple() const { return element_type() == TUPLE; } in IsTuple()
Dxla_data.proto69 TUPLE = 13; enumerator
583 TUPLE = 2; enumerator
597 // If type == TUPLE, the sub-shardings, one per leaf node in the tuple shape,
/external/tensorflow/tensorflow/compiler/xla/experimental/xla_sharding/
Dxla_sharding.py132 type=xla_data_pb2.OpSharding.TUPLE, tuple_shardings=tuple_shardings)
161 type=xla_data_pb2.OpSharding.TUPLE, tuple_shardings=shardings)
/external/python/cpython2/Lib/test/
Dpickletester.py1193 expected_opcode = {(0, 0): pickle.TUPLE,
1194 (0, 1): pickle.TUPLE,
1195 (0, 2): pickle.TUPLE,
1196 (0, 3): pickle.TUPLE,
1197 (0, 4): pickle.TUPLE,
1200 (1, 1): pickle.TUPLE,
1201 (1, 2): pickle.TUPLE,
1202 (1, 3): pickle.TUPLE,
1203 (1, 4): pickle.TUPLE,
1209 (2, 4): pickle.TUPLE,
/external/tensorflow/tensorflow/compiler/xla/python/
Dnumpy_bridge.cc63 case TUPLE: in PrimitiveTypeToNumpyType()
101 return TUPLE; in NumpyTypeToPrimitiveType()
239 if (element_type == TUPLE) { in XlaShapeFromPyShape()
Dxla_client.py366 TUPLE = 13 variable in PrimitiveType
386 PrimitiveType.TUPLE: np.dtype(np.object),
615 proto.element_type = PrimitiveType.TUPLE
634 if element_type == PrimitiveType.TUPLE:
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dutil.cc112 case xla::TUPLE: in IntegerLiteral()
/external/python/cpython3/Lib/test/
Dpickletester.py1642 expected_opcode = {(0, 0): pickle.TUPLE,
1643 (0, 1): pickle.TUPLE,
1644 (0, 2): pickle.TUPLE,
1645 (0, 3): pickle.TUPLE,
1646 (0, 4): pickle.TUPLE,
1649 (1, 1): pickle.TUPLE,
1650 (1, 2): pickle.TUPLE,
1651 (1, 3): pickle.TUPLE,
1652 (1, 4): pickle.TUPLE,
1658 (2, 4): pickle.TUPLE,
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function_test.cc126 ASSERT_EQ(result.element_type(), xla::TUPLE); in TEST()
Dxla_jit_compiled_cpu_function.cc92 if (program_shape->result().element_type() != xla::TUPLE) { in Compile()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc77 b->CreatePointerCast(operands[i], PrimitiveTypeToIrType(TUPLE, module)), in EmitTuple()
/external/python/cpython2/Lib/
Dpickle.py139 TUPLE = 't' # build tuple from topmost stack items variable
547 write(MARK + TUPLE)
586 self.write(TUPLE)
1002 dispatch[TUPLE] = load_tuple
/external/python/cpython3/Lib/
Dpickle.py139 TUPLE = b't' # build tuple from topmost stack items variable
763 self.write(MARK + TUPLE)
804 write(TUPLE)
1277 dispatch[TUPLE[0]] = load_tuple
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.cc268 if (primitive_type != TUPLE) { in LexIdentifier()
Dhlo_evaluator.cc213 typed_visitors_[TUPLE] = in HloEvaluator()
496 case TUPLE: in HandleIsFinite()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath_test.cc181 } else if (ty == PrimitiveType::TUPLE) { in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen.cc210 if (ps.result().element_type() != xla::TUPLE) { in GenResultMethods()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dwhile_op.cc158 body_output_shape.set_element_type(xla::TUPLE); in VerifyBodyInputAndOutputShapeMatch()
/external/python/cpython2/Modules/
DcPickle.c70 #define TUPLE 't' macro
1528 static char tuple = TUPLE; in save_tuple()
1545 c_str[1] = TUPLE; in save_tuple()
4835 case TUPLE: in load()
5252 case TUPLE: in noload()

12