/external/tensorflow/tensorflow/compiler/xla/tests/ |
while_test.cc | 297 // of the result tuple. 304 // tuple = tuple { while } 348 builder.Tuple({result}); 388 auto result = builder.Tuple( 395 auto init = builder.Tuple( 441 auto result = builder.Tuple( 448 auto init = builder.Tuple( 463 // Tests a while node when the result type T is a Tuple. 465 // tuple<int32, vector<float>> result(0, vector<float>(10, 0.0f)) 1035 auto tuple = local 1076 auto tuple = body.Tuple( local [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
StateListAnimatorTest.java | 91 StateListAnimator.Tuple tuple1 = stateListAnimator.getTuples().get(0); 92 assertEquals("first tuple should have one state", 1, tuple1.getSpecs().length); 93 assertEquals("first spec in tuple 1 should be pressed", 96 StateListAnimator.Tuple tuple2 = stateListAnimator.getTuples().get(1); 97 assertEquals("Second tuple should have two specs", 2, tuple2.getSpecs().length); 98 assertTrue("Tuple two should match the expected state",
|
AnimatorInflaterTest.java | 56 for (StateListAnimator.Tuple tuple : sla.getTuples()) { 57 assertUnique(tuple); 58 assertUnique(tuple.getAnimator());
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
copy_insertion_test.cc | 87 // Computation is a single parameter passed into a tuple. The parameter should 88 // be copied before entering the tuple. 92 HloInstruction* tuple = local 95 EXPECT_THAT(x->users(), UnorderedElementsAre(tuple)); 103 op::Tuple(op::Copy(x))); 107 // Computation is a single constant passed into a tuple. The parameter should 108 // be copied before entering the tuple. 112 HloInstruction* tuple = local 115 EXPECT_THAT(constant->users(), UnorderedElementsAre(tuple)); 124 op::Tuple(op::Copy(constant))) 734 auto tuple = xla_while->parent()->AddInstruction( local 1319 auto tuple = builder.AddInstruction( local 1384 auto tuple = builder.AddInstruction( local 1442 auto tuple = local [all...] |
hlo_cse_test.cc | 183 // Tie the constants together with a tuple. This makes it easier to refer to 185 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple( local 192 EXPECT_THAT(tuple, 193 op::Tuple(common_constant1, common_constant2, uncommon_constant)); 199 auto first_operand = tuple->operand(0); 202 EXPECT_THAT(tuple, 203 op::Tuple(first_operand, first_operand, uncommon_constant)); 217 auto tuple = local 224 EXPECT_THAT(tuple, op::Tuple(exp1, exp2, exp3)) 250 auto tuple = local 281 auto tuple = local 365 auto tuple = local [all...] |
hlo_element_type_converter_test.cc | 72 tuple = (f32[2]{0}, bf16[]) tuple(constant.2, add) 74 ROOT tuple.1 = ((f32[2]{0}, bf16[]), bf16[2]{0}) tuple(tuple, constant.5) 115 op::Tuple(op::Convert(op::GetTupleElement(batch_norm, 0)),
|
/external/python/cpython3/Lib/test/ |
test_typing.py | 13 from typing import Tuple, List, MutableMapping 349 issubclass(Tuple, Tuple[int, str]) 351 issubclass(tuple, Tuple[int, str]) 353 class TP(tuple): ... 354 self.assertTrue(issubclass(tuple, Tuple)) 355 self.assertTrue(issubclass(TP, Tuple)) 358 self.assertEqual(Tuple[int], Tuple[int] [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
partial-ordering.cpp | 5 template<typename ...Types> struct tuple; 7 template<typename Tuple> 13 struct X1<tuple<Head, Tail...> > { 18 struct X1<tuple<Head, Tail&...> > { 23 struct X1<tuple<Head&, Tail&...> > { 27 int check0[X1<tuple<>>::value == 0? 1 : -1]; 28 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 29 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 30 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 31 int check4[X1<tuple<int&, int&>>::value == 3? 1 : -1] [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
retval_op.cc | 65 // assignment of <input> as this point, create a tuple/get-tuple-element 68 ctx->builder()->GetTupleElement(ctx->builder()->Tuple({input}), 0); 75 // The index of this return value in the returned tuple.
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
sharding_builder.cc | 66 OpSharding Tuple(const ShapeTree<OpSharding>& shardings) {
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
apply_extended_types.pass.cpp | 12 // <tuple> 20 #include <tuple> 84 class Tuple, class ConstTuple 108 Tuple t{a}; 171 Tuple t{a}; 196 class Tuple, class ConstTuple 217 Tuple t{a, 2}; 281 class Tuple, class ConstTuple 302 Tuple t{a, 1, 1}; 368 std::tuple<A_int_0 &>, std::tuple<A_int_0 const & [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/tuple.apply/ |
extended_types.pass.cpp | 12 // <experimental/tuple> 20 #include <experimental/tuple> 85 class Tuple, class ConstTuple 109 Tuple t{a}; 172 Tuple t{a}; 197 class Tuple, class ConstTuple 218 Tuple t{a, 2}; 282 class Tuple, class ConstTuple 303 Tuple t{a, 1, 1}; 369 std::tuple<A_int_0 &>, std::tuple<A_int_0 const & [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
apply_extended_types.pass.cpp | 12 // <tuple> 20 #include <tuple> 84 class Tuple, class ConstTuple 108 Tuple t{a}; 171 Tuple t{a}; 196 class Tuple, class ConstTuple 217 Tuple t{a, 2}; 281 class Tuple, class ConstTuple 302 Tuple t{a, 1, 1}; 368 std::tuple<A_int_0 &>, std::tuple<A_int_0 const & [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
barrier_ops.cc | 45 typedef std::vector<Tensor> Tuple; 47 typedef std::function<void(const Tensor&, const Tensor&, const Tuple&)> 102 // For each key, update the corresponding incomplete tuple with the 108 Tuple insert_tuple; 128 std::vector<Tuple> ready_tuples; 157 // tuple by slicing entries into new Tensors. This part is slow 227 callback(Tensor(DT_INT64), Tensor(DT_STRING), Tuple()); 235 [this, ctx, callback](const Tuple& t) { 238 Tuple values; 310 std::vector<Tuple>* ready_tuples, bool* new_elements [all...] |
queue_ops.cc | 68 // Defines an EnqueueOp, the execution of which enqueues a tuple of 74 // - Input 1: 0th element of the tuple. 76 // - Input (1+k): kth element of the tuple. 97 QueueInterface::Tuple tuple; variable 102 tuple.push_back(Tcomponent); 105 OP_REQUIRES_OK_ASYNC(ctx, queue->ValidateTuple(tuple), callback); 106 queue->TryEnqueue(tuple, ctx, callback); 117 // component of a tuple of tensors along the 0th dimension, and 123 // - Input 1: 0th element of the tuple 149 QueueInterface::Tuple tuple; variable [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
Section.py | 111 # @retval tuple (File list, boolean)
154 Tuple = os.walk(FfsInf.EfiOutputPath)
155 for Dirpath, Dirnames, Filenames in Tuple:
|
/external/llvm/lib/Fuzzer/test/ |
FuzzerFnAdapterUnittest.cpp | 12 bool Unpack(std::tuple<Args...> *Tuple, std::initializer_list<uint8_t> data) { 14 return Unpack(V.data(), V.size(), Tuple); 18 std::tuple<bool> T; 29 std::tuple<bool, bool> T; 43 std::tuple<bool, int> T; 52 std::tuple<std::vector<uint8_t>> T; 77 std::tuple<std::string> T;
|
/external/swiftshader/third_party/subzero/src/ |
IceStringPool.h | 60 for (const auto &Tuple : StringToId) { 61 Str << " " << Tuple.first;
|
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
while_loop.cc | 37 // Unpacks a tuple into its component parts. 38 auto unpack_tuple = [](xla::ComputationDataHandle tuple, int arity, 42 elements[i] = builder->GetTupleElement(tuple, i); 73 body_builder->Tuple(result); 77 auto outputs = builder->While(cond, body, builder->Tuple(initial_values));
|
/external/tensorflow/tensorflow/contrib/py2tf/pyct/ |
templates.py | 71 elif isinstance(node, gast.Tuple): 92 if isinstance(n, gast.Tuple): 118 if isinstance(n, tuple): 119 return tuple(_convert_to_ast(e) for e in n) 126 AST Name and Tuple nodes always receive the context that inferred from
|
/external/libmojo/third_party/jinja2/ |
meta.py | 75 # a tuple with some non consts in there 76 if isinstance(node.template, (nodes.Tuple, nodes.List)): 93 # a tuple or list (latter *should* not happen) made of consts, 97 isinstance(node.template.value, (tuple, list)):
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
testing.cc | 35 // specified shape. In case of a (nested) tuple shape this is the total byte 36 // size of all sub-shapes within the tuple. 62 return builder->Tuple(parts);
|
/external/tensorflow/tensorflow/contrib/py2tf/converters/ |
builtin_functions.py | 64 if len(args) == 1 and isinstance(args[0], gast.Tuple):
|
/external/v8/tools/clang/plugins/tests/ |
ipc.cpp | 45 struct Tuple { 55 typedef base::Tuple<T...> Tuple; 182 #define IPC_TUPLE(...) IPC::CheckedTuple<__VA_ARGS__>::Tuple
|
/prebuilts/go/darwin-x86/src/go/types/ |
type.go | 167 // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple. 170 type Tuple struct { 174 // NewTuple returns a new tuple for the given variables. 175 func NewTuple(x ...*Var) *Tuple { 177 return &Tuple{x} 182 // Len returns the number variables of tuple t. 183 func (t *Tuple) Len() int { 190 // At returns the i'th variable of tuple t [all...] |