HomeSort by relevance Sort by last modified time
    Searched refs:tuple (Results 851 - 875 of 2452) sorted by null

<<31323334353637383940>>

  /external/tensorflow/tensorflow/python/keras/layers/
merge.py 52 shape1: tuple or None. Shape of the first tensor
53 shape2: tuple or None. Shape of the second tensor
58 tuple or None.
84 return tuple(output_shape)
387 shape_set.add(tuple(reduced_inputs_shapes[i]))
409 return tuple(output_shape)
457 axes: Integer or tuple of integers,
469 if not isinstance(axes, (list, tuple)):
548 return tuple(output_shape)
697 axes: Integer or tuple of integers
    [all...]
wrappers.py 165 init_tuple: a tuple, the first part of the output shape
183 return init_tuple + tuple(int_shape)
189 return init_tuple + tuple(int_shape)
203 # tuple which is why we cast the shape.
204 self.layer.build(tuple(child_input_shape))
416 output_shape = tuple(self.forward_layer.compute_output_shape(
425 output_shape = tuple(output_shape)
  /external/python/cpython3/Lib/test/
test_itertools.py 225 pool = tuple(iterable)
230 yield tuple(pool[i] for i in indices)
240 yield tuple(pool[i] for i in indices)
244 pool = tuple(iterable)
248 yield tuple(pool[i] for i in indices)
252 pool = tuple(iterable)
256 yield tuple(pool[i] for i in indices)
284 # Test implementation detail: tuple re-use
285 @support.impl_detail("tuple reuse is specific to CPython")
309 pool = tuple(iterable
    [all...]
  /external/libbrillo/brillo/dbus/
data_serialization_unittest.cc 54 EXPECT_TRUE((IsTypeSupported<std::tuple<bool, double, int32_t>>::value));
65 EXPECT_FALSE((IsTypeSupported<std::tuple<bool, char, int32_t>>::value));
135 EXPECT_EQ("(i)", (GetDBusSignature<std::tuple<int>>()));
136 EXPECT_EQ("(sv)", (GetDBusSignature<std::tuple<std::string, Any>>()));
139 std::tuple<int, double, std::tuple<std::string, int>>>()));
590 TEST(DBusUtils, Tuple) {
593 std::tuple<std::string, int> struct1{"value2", 3};
595 std::tuple<int, std::string, std::vector<std::pair<int, int>>> struct2{
602 std::tuple<std::string, int> struct1_out
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/
README.md 244 ### Choosing a TR1 Tuple Library
246 Some Google Test features require the C++ Technical Report 1 (TR1) tuple
248 Google Test implements a subset of TR1 tuple that's enough for its own need, and
249 will automatically use this when the compiler doesn't provide TR1 tuple.
251 Usually you don't need to care about which tuple library Google Test uses.
252 However, if your project already uses TR1 tuple, you need to tell Google Test to
253 use the same TR1 tuple library the rest of your project uses, or the two tuple
259 force Google Test to use its own tuple library, just add
265 If you don't want Google Test to use tuple at all, ad
    [all...]
  /external/python/cpython2/Lib/test/
test_itertools.py 89 pool = tuple(iterable)
94 yield tuple(pool[i] for i in indices)
104 yield tuple(pool[i] for i in indices)
108 pool = tuple(iterable)
112 yield tuple(pool[i] for i in indices)
116 pool = tuple(iterable)
120 yield tuple(pool[i] for i in indices)
145 @test_support.impl_detail("tuple reuse is specific to CPython")
162 pool = tuple(iterable)
167 yield tuple(pool[i] for i in indices
    [all...]
test_functools.py 29 class MyTuple(tuple):
32 class BadTuple(tuple):
224 self.assertIs(type(s[1]), tuple)
228 self.assertIs(type(r[0]), tuple)
234 self.assertIs(type(s[1]), tuple)
237 self.assertIs(type(r[0]), tuple)
282 return tuple(range(1000000))
  /external/tensorflow/tensorflow/compiler/xla/service/
heap_simulator_test.cc 48 // Tuple param: 24 bytes (each elem has 8 byte pointer, 4 byte element)
63 // Tuple param: 24 bytes (each elem has 8 byte pointer, 4 byte element)
75 // Tuple: 16 bytes (8 bytes per pointer), TOTAL=24
76 HloInstruction* tuple = local
81 tuple_shape, cond_computation, body_computation, tuple));
93 schedule.set_sequence(entry_computation, {iter, data, tuple, while_op});
613 auto tuple = local
616 // The buffers for dot0, dot1 and tuple are the output. No buffers can be
621 {paramA, paramX, mul, paramY, dot0, dot1, tuple});
630 {kAlloc, tracker.BufferAt(tuple, {})},
652 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({mul, add})); local
    [all...]
  /external/python/cpython3/Modules/
_datetimemodule.c 1821 PyObject *tuple = NULL; local
3084 PyObject *tuple; local
3178 PyObject *tuple; local
4150 PyObject *tuple; local
4314 PyObject *tuple; local
5618 PyObject *tuple; local
    [all...]
  /external/autotest/client/site_tests/firmware_TouchMTB/
test_flow.py 215 to_list = lambda s: list(s) if isinstance(s, tuple) else [s]
216 return tuple(tuple(to_list(s1) + to_list(s2)) for s1 in seq1
223 elif isinstance(seq[0], tuple):
284 if isinstance(variation, tuple):
286 tuple(test.subprompt[s] for s in variation))
341 if type(variation) is tuple:
  /external/fonttools/Lib/fontTools/varLib/
varStore.py 14 return tuple(sorted(loc.items(), key=lambda kv: kv[0]))
67 key = tuple(regionIndices)
98 deltas = tuple(deltas[1:])
101 deltas = tuple(deltas)
126 deltas = tuple(deltas[1:])
129 deltas = tuple(deltas)
432 row = tuple(row)
  /external/tensorflow/tensorflow/python/distribute/
cross_device_ops.py 100 if isinstance(input_tensor, (tuple, list)):
102 "got %r but expected a object that is not a tuple or list."
123 if not isinstance(value_destination_pairs, (list, tuple)):
124 raise ValueError("`value_destination_pairs` should be a list or tuple")
126 if not isinstance(pair, tuple):
128 "Each element of `value_destination_pairs` should be a tuple.")
131 "tuple of size 2.")
142 if not isinstance(value_destination_pairs, (list, tuple)): return False
143 if not all(isinstance(pair, tuple) for pair in value_destination_pairs):
266 value_destination_pairs: a list or a tuple of tuples of PerReplica object
    [all...]
mirrored_strategy.py 171 device_map, tuple(t.merge_args for t in threads))
173 device_map, tuple(t.merge_kwargs for t in threads))
195 return values.regroup(device_map, tuple(t.main_result for t in threads))
408 return (tuple("/device:GPU:%d" % i for i in range(num_gpus)) or
467 devices = tuple(device_util.resolve(d) for d in devices)
482 devices = tuple(device_util.resolve(d) for d in devices)
727 assert isinstance(colocate_with, tuple)
    [all...]
  /external/googletest/googletest/test/
googletest-printers-test.cc 987 ::std::tuple<> t0;
990 ::std::tuple<int> t1(5);
993 ::std::tuple<char, bool> t2('a', true);
996 ::std::tuple<bool, int, int> t3(false, 2, 3);
999 ::std::tuple<bool, int, int, int> t4(false, 2, 3, 4);
1003 ::std::tuple<bool, char, short, testing::internal::Int32, // NOLINT
1015 ::std::tuple< ::std::tuple<int, bool>, char> nested(
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
STLExtras.h 35 #include <tuple>
436 using type = std::tuple<decltype(*declval<Iters>())...>;
447 0, std::tuple<Iters...>>::type>::difference_type,
460 std::tuple<Iters...> iterators;
469 return std::tuple<Iters...>(std::next(std::get<Ns>(iterators))...);
474 return std::tuple<Iters...>(std::prev(std::get<Ns>(iterators))...);
539 std::tuple<Args...> ts;
591 /// sequence in a tuple of pairs.
596 std::tuple<std::pair<IterTs, IterTs>...> IterPairs;
692 std::tuple<RangeTs...> Ranges
    [all...]
  /external/tensorflow/tensorflow/python/keras/engine/
training_utils.py 282 elif isinstance(data, (list, tuple)):
283 if isinstance(data[0], (list, tuple)):
330 data_shape = tuple(tensorshape.as_list())
642 # Iterator may return sample_weight as 1-tuple
643 if isinstance(sample_weight, tuple):
731 if isinstance(ls, (list, tuple)):
    [all...]
  /art/test/968-default-partial-compile-gen/util-src/
generate_smali.py 547 SUBTREES = [set(tuple(sorted(l)) for l in subtree_sizes(i))
564 yield TestInterface(tuple(), iftype)
570 yield TestInterface(tuple(), InterfaceType.default)
  /device/google/contexthub/util/nanotool/
nanotool.cpp 25 #include <tuple>
64 static const std::vector<std::tuple<std::string, NanotoolCommand>> cmds = {
214 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
expatreader.py 315 pair = tuple(pair)
332 apair = tuple(parts)
347 pair = tuple(pair)
  /external/deqp-deps/SPIRV-Tools/test/
text_to_binary.annotation_test.cpp 20 #include <tuple>
43 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
404 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
  /external/fonttools/Lib/fontTools/
afmLib.py 309 if isinstance(key, tuple):
310 # key is a tuple, return the kernpair
317 if isinstance(key, tuple):
318 # key is a tuple, set kernpair
325 if isinstance(key, tuple):
326 # key is a tuple, del kernpair
  /external/fonttools/Tests/ufoLib/
testSupport.py 102 elif isinstance(value, tuple):
120 elif isinstance(value, tuple):
138 elif isinstance(value, tuple):
  /external/iptables/extensions/
libxt_conntrack.c 44 struct ip_conntrack_old_tuple tuple[IP_CT_DIR_MAX]; member in struct:xt_conntrack_info
349 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum = cb->val.protocol;
352 if (sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum == 0
362 sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip = cb->val.haddr.ip;
368 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.ip = cb->val.haddr.ip;
374 sinfo->tuple[IP_CT_DIR_REPLY].src.ip = cb->val.haddr.ip;
380 sinfo->tuple[IP_CT_DIR_REPLY].dst.ip = cb->val.haddr.ip;
709 printf(" %u", sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum);
718 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip,
730 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.ip
    [all...]
  /external/libaom/libaom/test/
selfguided_filter_test.cc 31 using ::testing::tuple;
39 typedef tuple<SgrFunc> FilterTestParam;
218 typedef tuple<SgrFunc, int> HighbdFilterTestParam;
  /external/pdfium/core/fxcodec/codec/
fx_codec.cpp 12 #include <tuple>
    [all...]

Completed in 1815 milliseconds

<<31323334353637383940>>