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

<<21222324252627282930>>

  /external/tensorflow/tensorflow/contrib/framework/python/ops/
script_ops.py 97 if not isinstance(args, (list, tuple)):
  /external/tensorflow/tensorflow/core/framework/
tracking_allocator.h 73 // a tuple where the first value is the total number of bytes
81 std::tuple<size_t, size_t, size_t> GetSizes();
  /external/tensorflow/tensorflow/python/autograph/pyct/
transformer.py 239 return tuple(self._enclosing_entities)
349 tuple (new_node, new_destination). It is called after visiting each item
377 if isinstance(replacement, (list, tuple)):
413 targets: list, tuple of or individual AST node. Should be used with the
420 if not isinstance(targets, (list, tuple)):
423 if isinstance(target, (gast.Tuple, gast.List)):
426 if isinstance(values, (gast.Tuple, gast.List)):
489 (list, tuple, gast.Assign, gast.AugAssign)):
  /external/tensorflow/tensorflow/python/data/benchmarks/
map_benchmark.py 51 tuple(0 for _ in range(fan_out))).repeat(None)
  /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
unbatch_test.py 48 data = tuple([math_ops.range(10) for _ in range(3)])
59 data = tuple([math_ops.range(10) for _ in range(3)])
99 data = tuple([(math_ops.range(10),) for _ in range(3)])
110 data = tuple([(math_ops.range(10 * i, 10 * i + 10),
  /external/tensorflow/tensorflow/python/keras/utils/
conv_utils_test.py 31 return tuple([min(d, dim) for d in input_shape])
205 strides = tuple([max(d, 1) for d in input_shape])
226 strides = tuple([max(d - 1, 1) for d in input_shape])
232 out_position = tuple([min(p, 1) for p in in_position])
  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_map_ops.py 57 is a (possibly nested) list or tuple of tensors, then each of these tensors
66 nested) tuple of types matching the output of `fn`.
347 nested_row_lengths: a tuple containing the row lengths of each rank. The
348 elements of the tuple could be `Tensor`s or `TensorArray`s.
359 nested_row_lengths = tuple(
379 nested_row_lengths = tuple(split[1:] - split[:-1] for split in splits)
397 nested_row_lengths = tuple(t.nested_row_lengths)
411 nested_row_lengths=tuple(dtypes.int64 for i in range(d.ragged_rank - 1)),
  /external/python/cpython2/Modules/
_testcapimodule.c 898 PyObject *tuple, *num; local
901 tuple = PyTuple_New(1);
902 if (tuple == NULL)
909 PyTuple_SET_ITEM(tuple, 0, num);
912 if (!PyArg_ParseTuple(tuple, "L:test_L_code", &value)) {
924 PyTuple_SET_ITEM(tuple, 0, num);
927 if (!PyArg_ParseTuple(tuple, "L:test_L_code", &value)) {
934 Py_DECREF(tuple);
1055 /* Test tuple argument processing */
1190 PyObject *tuple, *num; local
1655 PyObject *tuple, *obj; local
1776 PyObject *tuple, *dict = NULL; local
1875 PyObject *tuple = PyTuple_Pack(2, o1, o2); local
    [all...]
  /device/google/cuttlefish_common/host/frontend/stream_audio/
main.cpp 45 #include <tuple>
85 std::tuple<std::int64_t, std::shared_ptr<const cvd::Message>> audio_buffer(
164 std::tuple<std::size_t, const std::uint8_t*> GetPayloadFromBuffer(
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
build_clib.py 134 if not isinstance(lib, tuple) and len(lib) != 2:
136 "each element of 'libraries' must a 2-tuple"
142 "first element of each tuple in 'libraries' " + \
152 "second element of each tuple in 'libraries' " + \
172 if sources is None or not isinstance(sources, (list, tuple)):
184 if sources is None or not isinstance(sources, (list, tuple)):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_deque.py 252 s = tuple('abcde')
263 self.assertEqual(tuple(d), s)
271 self.assertEqual(tuple(d), tuple(e))
273 self.assertEqual(tuple(d), s)
275 self.assertEqual(tuple(e), s)
283 self.assertEqual(tuple(d), tuple(e))
285 self.assertEqual(tuple(d), s)
287 self.assertEqual(tuple(e), s)
    [all...]
test_structseq.py 10 astuple = tuple(t)
39 t2 = t1 + tuple(t1)
58 self.assertEqual(hash(t1), hash(tuple(t1)))
  /external/ImageMagick/MagickCore/
compress.c 237 tuple[6];
251 tuple[0]='z';
252 tuple[1]='\0';
253 return(tuple);
260 tuple[i]=(char) (x+(int) '!');
263 tuple[4]=(char) ((code % 85L)+(int) '!');
264 tuple[5]='\0';
265 return(tuple);
285 *tuple;
297 tuple=Ascii85Tuple(image->ascii85->buffer)
233 tuple[6]; local
281 *tuple; local
    [all...]
  /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
rx-util.hpp 199 auto apply(std::tuple<ParamN...> p, values<int, IndexN...>, F&& f)
205 auto apply_to_each(std::tuple<ParamN...>& p, values<int, IndexN...>, F_inner& f_inner, F_outer& f_outer)
211 auto apply_to_each(std::tuple<ParamN...>& p, values<int, IndexN...>, const F_inner& f_inner, const F_outer& f_outer)
218 auto apply(std::tuple<ParamN...> p, F&& f)
224 auto apply_to_each(std::tuple<ParamN...>& p, F_inner& f_inner, F_outer& f_outer)
230 auto apply_to_each(std::tuple<ParamN...>& p, const F_inner& f_inner, const F_outer& f_outer)
248 auto operator()(std::tuple<ParamN...> p)
253 auto operator()(std::tuple<ParamN...> p) const
297 -> typename std::tuple_element<Index, std::tuple<decay_t<ParamN>...>>::type {
302 -> typename std::tuple_element<Index, std::tuple<decay_t<ParamN>...>>::type
    [all...]
  /external/autotest/client/cros/multimedia/
display_facade_adapter.py 105 @param resolution: A tuple (width, height) of resolution.
274 @return The resolution tuple (width, height) or None if no external
278 return tuple(resolution) if resolution else None
284 @return The resolution tuple (width, height) or None if no internal
288 return tuple(resolution) if resolution else None
328 return [tuple(r) for r in
  /external/autotest/server/cros/multimedia/
display_facade_adapter.py 120 @param resolution: A tuple (width, height) of resolution.
293 @return The resolution tuple (width, height) or None if no external
297 return tuple(resolution) if resolution else None
303 @return The resolution tuple (width, height) or None if no internal
307 return tuple(resolution) if resolution else None
348 return [tuple(r) for r in
  /external/catch2/include/internal/
catch_generators.hpp 157 GeneratorWrapper<std::tuple<Ts...>> table( std::initializer_list<std::tuple<typename std::decay<Ts>::type...>> tuples ) {
158 return values<std::tuple<Ts...>>( tuples );
  /external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
snippet.py 40 """Return a tuple of the tokens this Snippet contains."""
134 return tuple(self._tokens)
182 return tuple(tokens)
222 children = tuple(_SnippetizeNode(child, tokens) for child in node[1:])
  /external/google-breakpad/src/testing/include/gmock/internal/
gmock-internal-utils.h 439 // represented as a (pointer, size) tuple.
441 class StlContainerView< ::std::tr1::tuple<ElementPointer, Size> > {
449 const ::std::tr1::tuple<ElementPointer, Size>& array) {
453 static type Copy(const ::std::tr1::tuple<ElementPointer, Size>& array) {
  /external/libbrillo/brillo/dbus/
dbus_method_invoker.h 67 #include <tuple>
170 // and puts the values in the resulting |tuple|. Returns false on error and
176 std::tuple<ResultTypes...>* val_tuple) {
189 std::tuple<ResultTypes&...>* ref_tuple) {
  /external/pdfium/core/fpdfapi/page/
cpdf_meshstream.cpp 196 std::tuple<float, float, float> CPDF_MeshStream::ReadColor() {
211 return std::tuple<float, float, float>(r, g, b);
223 return std::tuple<float, float, float>(r, g, b);
  /external/python/cpython2/Lib/distutils/command/
build_clib.py 134 if not isinstance(lib, tuple) and len(lib) != 2:
136 "each element of 'libraries' must a 2-tuple"
142 "first element of each tuple in 'libraries' " + \
152 "second element of each tuple in 'libraries' " + \
172 if sources is None or not isinstance(sources, (list, tuple)):
184 if sources is None or not isinstance(sources, (list, tuple)):
  /external/python/cpython2/Lib/test/
test_structseq.py 10 astuple = tuple(t)
39 t2 = t1 + tuple(t1)
58 self.assertEqual(hash(t1), hash(tuple(t1)))
  /external/python/cpython3/Lib/distutils/command/
build_clib.py 133 if not isinstance(lib, tuple) and len(lib) != 2:
135 "each element of 'libraries' must a 2-tuple")
141 "first element of each tuple in 'libraries' "
150 "second element of each tuple in 'libraries' "
171 if sources is None or not isinstance(sources, (list, tuple)):
184 if sources is None or not isinstance(sources, (list, tuple)):
  /external/python/cpython3/Lib/unittest/
util.py 25 args = tuple(map(safe_repr, args))
39 return tuple(prefix + s[prefixlen:] for s in args)
42 return tuple(prefix + _shorten(s[prefixlen:], _MIN_DIFF_LEN, _MIN_END_LEN)
60 Returns a two-element tuple of lists. The first list contains those

Completed in 3875 milliseconds

<<21222324252627282930>>