| /external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
| cpu_fusion_test.cc | 255 // Tie together the two adds with a tuple to create a single root. 291 // tuple = tuple(negate1, negate2, exp2) 296 // tuple. 314 auto tuple = builder.AddInstruction( local 323 // The only fusion instruction should be operand 0 of the tuple (formerly 325 EXPECT_EQ(HloOpcode::kFusion, tuple->operand(0)->opcode()); 326 EXPECT_EQ(HloOpcode::kNegate, tuple->operand(1)->opcode()); 327 EXPECT_EQ(HloOpcode::kExp, tuple->operand(2)->opcode()); 329 auto fusion_inst = tuple->operand(0) [all...] |
| /external/tensorflow/tensorflow/compiler/xrt/kernels/ |
| xrt_execute_op.cc | 100 // We are holding a reference to the tuple, so we can safely delete it 106 XRTTupleAllocation* tuple = (*input_tuples)[i]; local 107 input_allocations->emplace_back(tuple->ToShapedBuffer()); 178 for (auto tuple : input_tuples) { 179 if (tuple != nullptr) { 180 tuple->Unref();
|
| /external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
| noop_elimination_test.cc | 17 #include <tuple> 75 : ::testing::TestWithParam<std::tuple<string, int, bool>> {}; 115 : ::testing::TestWithParam<std::tuple<string, int, bool>> {}; 164 using NodesTypes = std::tuple<std::pair<string, int>, std::pair<string, int>>; 224 : ::testing::TestWithParam<std::tuple<string, string>> {};
|
| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_show_multi.cc | 167 std::map<string, std::tuple<int64, int64, int64>> input_shapes_attr; 201 std::vector<std::pair<string, std::tuple<int64, int64, int64>>> 205 [](const std::pair<const string, std::tuple<int64, int64, int64>>& a, 206 const std::pair<const string, std::tuple<int64, int64, int64>>& b) { 213 std::tuple<int64, int64, int64> t = s.second;
|
| /external/google-breakpad/src/testing/gtest/test/ |
| gtest-printers_test.cc | 213 using ::std::tr1::tuple; 973 tuple<> t0; 976 tuple<int> t1(5); 979 tuple<char, bool> t2('a', true); 982 tuple<bool, int, int> t3(false, 2, 3); 985 tuple<bool, int, int, int> t4(false, 2, 3, 4); 988 tuple<bool, int, int, int, bool> t5(false, 2, 3, 4, true); 991 tuple<bool, int, int, int, bool, int> t6(false, 2, 3, 4, true, 6); 994 tuple<bool, int, int, int, bool, int, int> t7(false, 2, 3, 4, true, 6, 7); 997 tuple<bool, int, int, int, bool, int, int, bool> t8 [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| tuple_points_to_analysis.cc | 117 HloInstruction* tuple) { 118 tree_.mutable_element(index)->tuple_sources.insert(tuple); 211 // If the hlo instruction is a tuple-shaped, then trivially the instruction 212 // itself is the source of the tuple. 221 // GetTupleElement forwards a pointer to a particular element of the tuple 229 // Copy the points-to set (and tuple sources) at index {element_index} of the 242 for (HloInstruction* tuple : 244 points_to_set.add_tuple_source(target_index, tuple); 254 // tuple shape) come from the operand 288 // RecvDone aliases its input (Recv) tuple element {0} to element {0} of it [all...] |
| ar_crs_combiner.cc | 135 for (auto tuple : GetAllTuples(instruction->operands()[0])) { 137 GetAllTuples(tuple->mutable_operand(instruction->tuple_index())); 156 for (auto tuple : tuples) { 157 CHECK_EQ(tuple->opcode(), HloOpcode::kTuple); 158 if (!InstructionsComputeSameValue(tuple->mutable_operand(i1), 159 tuple->mutable_operand(i2), 216 // We only try in the context of get-tuple-element
|
| hlo_memory_scheduler_test.cc | 109 t = (s32[1000], s32[1000]) tuple(p0, p1) 110 a = s32[1000] get-tuple-element(t), index=0 111 b = s32[1000] get-tuple-element(t), index=1 116 ROOT result = (s32[1000], s32[1000], s32[1000]) tuple(d, e, f) 164 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple( local 167 HloInstruction::CreateGetTupleElement(r1f32, tuple, 0)); 190 // tuple allocates the tuple buffer and doesn't free anything. 192 // abs_abs2 should be scheduled before tuple by List. 193 EXPECT_TRUE(ordering.ExecutesBefore(abs_abs2, tuple)); 211 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({add, mul})); local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/python/ |
| xla_client.py | 93 """Destructures a tuple buffer into a sequence of buffers.""" 366 TUPLE = 13 386 PrimitiveType.TUPLE: np.dtype(np.object), 440 """Assuming a tuple buffer, unpack it into constituent tuple elements.""" 444 return tuple( 467 is a tuple shape, having a shape for every tuple component: 479 """Construct a tuple shape.""" 480 if (not isinstance(tuple_shapes, (tuple, list)) o [all...] |
| /external/catch2/include/internal/ |
| catch_tostring.h | 391 // Separate std::tuple specialization 393 #include <tuple> 397 typename Tuple, 399 bool = (N < std::tuple_size<Tuple>::value) 402 static void print(const Tuple& tuple, std::ostream& os) { 404 << ::Catch::Detail::stringify(std::get<N>(tuple)); 405 TupleElementPrinter<Tuple, N + 1>::print(tuple, os); 410 typename Tuple, [all...] |
| /external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
| _interceptor_test.py | 354 requests = tuple( 364 responses = tuple(response_iterator) 374 responses = tuple(response_iterator) 499 tuple(response_iterator) 507 requests = tuple( 530 requests = tuple( 554 requests = tuple( 577 requests = tuple( 592 tuple(response_iterator)
|
| /external/googletest/googletest/test/ |
| googletest-param-test-test.cc | 411 const ParamGenerator<std::tuple<const char*, int> > gen = 414 std::tuple<const char*, int> expected_values[] = { 422 const ParamGenerator<std::tuple<int, int, int> > gen = 424 std::tuple<int, int, int> expected_values[] = { 436 const ParamGenerator<std::tuple<int, int> > gen = 439 std::tuple<int, int> expected_values[] = {std::make_tuple(42, 0), 448 const ParamGenerator<std::tuple<int, int> > gen = 451 std::tuple<int, int> expected_values[] = {std::make_tuple(0, 42), 459 const ParamGenerator<std::tuple<int, int> > gen = 467 const ParamGenerator<std::tuple<int, int> > gen [all...] |
| /external/ImageMagick/MagickCore/ |
| identify.c | 1042 tuple[MagickPathExtent]; local 1080 tuple[MagickPathExtent]; local [all...] |
| histogram.c | 1010 tuple[MagickPathExtent]; local [all...] |
| /external/tensorflow/tensorflow/python/framework/ |
| tensor_util.py | 221 if not isinstance(list_of_lists, (list, tuple)): 230 if isinstance(nested_strings, (list, tuple)): 272 if not isinstance(v, (list, tuple)): 274 if isinstance(v, tuple): 275 if not any(isinstance(x, (list, tuple)) for x in v): 278 if not any(isinstance(x, (list, tuple)) for x in v): 280 [None if isinstance(x, (list, tuple)) else x for x in v]) 285 if isinstance(v, (list, tuple)): 292 if isinstance(v, (list, tuple)): 298 if isinstance(v, (list, tuple)) [all...] |
| /art/test/964-default-iface-init-gen/util-src/ |
| generate_java.py | 277 return TestInterface(tuple(map(lambda a: a.clone(), self.ifaces)), self.default) 353 return tuple(a.clone() for a in l) 356 SUBTREES = [set(tuple(l) for l in subtree_sizes(i)) 373 yield TestClass(tuple([selected] + list(ns))) 380 yield TestInterface(tuple(), False) 381 yield TestInterface(tuple(), True)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
| encoder.py | 80 | list, tuple | array |
140 tuple. The default is (', ', ': '). To get the most compact JSON
208 if not isinstance(chunks, (list, tuple)):
285 tuple=tuple,
326 if isinstance(value, (list, tuple)):
402 if isinstance(value, (list, tuple)):
430 elif isinstance(o, (list, tuple)):
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
| encoder.py | 81 | list, tuple | array |
135 tuple. The default is (', ', ': '). To get the most compact JSON
202 if not isinstance(chunks, (list, tuple)):
279 tuple=tuple,
320 if isinstance(value, (list, tuple)):
396 if isinstance(value, (list, tuple)):
424 elif isinstance(o, (list, tuple)):
|
| /external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
| arguments.pyx.pxi | 42 cdef tuple _wrap_grpc_arg(grpc_arg arg): 48 cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg): 88 self._arguments = () if arguments is None else tuple(arguments)
|
| /external/libbrillo/brillo/dbus/ |
| data_serialization.cc | 229 std::tuple<std::string, uint32_t>>(reader, value); 234 std::tuple<uint32_t, uint32_t>>(reader, value); 250 return PopTypedValueFromReader<std::tuple<int, int>>(reader, value); 252 return PopTypedValueFromReader<std::tuple<std::string, std::string>>(reader, 255 return PopTypedValueFromReader<std::tuple<uint32_t, bool>>(reader, value); 257 return PopTypedValueFromReader<std::tuple<uint32_t, uint32_t>>(reader,
|
| /external/python/cpython2/Lib/json/ |
| encoder.py | 80 | list, tuple | array | 140 tuple. The default is (', ', ': '). To get the most compact JSON 208 if not isinstance(chunks, (list, tuple)): 285 tuple=tuple, 326 if isinstance(value, (list, tuple)): 402 if isinstance(value, (list, tuple)): 430 elif isinstance(o, (list, tuple)):
|
| /external/python/cpython2/Lib/ |
| pprint.py | 180 (issubclass(typ, tuple) and r is tuple.__repr__) or 188 elif issubclass(typ, tuple): 217 if issubclass(typ, tuple) and length == 1: 291 (issubclass(typ, tuple) and r is tuple.__repr__):
|
| /external/python/cpython3/Lib/json/ |
| encoder.py | 83 | list, tuple | array | 137 tuple. The default is (', ', ': ') if *indent* is ``None`` and 200 if not isinstance(chunks, (list, tuple)): 270 tuple=tuple, 319 if isinstance(value, (list, tuple)): 399 if isinstance(value, (list, tuple)): 428 elif isinstance(o, (list, tuple)):
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
| version.py | 113 self.version = tuple(map(string.atoi, [major, minor, patch]))
115 self.version = tuple(map(string.atoi, [major, minor]) + [0])
168 # 2) sequences of letters are part of the tuple for comparison and are
173 # string is split up into a tuple of integer and string components, and
174 # comparison is a simple tuple comparison. This means that version
190 # lexically within a tuple comparison. This has the desired effect if
196 # "1.5.1" < "1.5.2a2" < "1.5.2", but under the tuple/lexical comparison
270 # from the parsed tuple -- so I just store the string here for
|
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
| Vtf.py | 168 CmdStr = tuple()
188 Arg = tuple()
|