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

<<21222324252627282930>>

  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
OrcRemoteTargetRPCAPI.h 304 std::tuple<JITTargetAddress, JITTargetAddress, uint32_t>(
320 std::tuple<JITTargetAddress, uint32_t>()> {
335 std::tuple<std::string, uint32_t, uint32_t, uint32_t, uint32_t>()> {
  /external/tensorflow/tensorflow/compiler/xla/tests/
conditional_test.cc 30 Parameter(&builder, 0, empty_tuple_, "tuple");
82 auto tuple = Parameter(&builder, 0, tuple_shape, "tuple"); local
83 auto x = GetTupleElement(tuple, 0);
84 auto y = GetTupleElement(tuple, 1);
87 Tuple(&builder, {x_ceil, y_ceil});
104 auto tuple = Parameter(&builder, 0, tuple_shape, "tuple"); local
105 auto x = GetTupleElement(tuple, 0);
106 auto y = GetTupleElement(tuple, 1)
126 auto tuple = Parameter(&builder, 0, tuple_shape, "tuple"); local
146 auto tuple = Parameter(&builder, 0, tuple_shape, "tuple"); local
    [all...]
  /external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
decoder_test.py 77 tuple(final_sequence_length.get_shape().as_list()))
80 tuple(final_outputs.rnn_output.get_shape().as_list()))
83 tuple(final_outputs.sample_id.get_shape().as_list()))
decoder_v2_test.py 75 tuple(final_sequence_length.get_shape().as_list()))
78 tuple(final_outputs.rnn_output.get_shape().as_list()))
81 tuple(final_outputs.sample_id.get_shape().as_list()))
  /external/tensorflow/tensorflow/python/autograph/operators/
py_builtins.py 160 unknown_kwargs = tuple(
186 vals = tuple(v.numpy() if tensor_util.is_tensor(v) else v for v in vals)
191 vals = tuple(
  /external/tensorflow/tensorflow/python/framework/
subscribe.py 35 `tf.Session` and includes single `Tensor`, `list`, nested `list`, `tuple`,
39 tensors: Single `Tensor`, `list`, nested `list, `tuple`,
52 elif isinstance(tensors, (list, tuple)):
56 elif tensors_type is tuple:
57 return tuple(tensors)
309 single `Tensor`, `list`, nested `list`, `tuple`, `namedtuple`, or `dict`. It
328 `list`, `tuple`, `namedtuple`, or `dict`.
  /external/tensorflow/tensorflow/python/keras/utils/
conv_utils.py 52 """Transforms a single integer or iterable of integers into an integer tuple.
57 n: The size of the tuple to be returned.
62 A tuple of n integers.
72 value_tuple = tuple(value)
74 raise ValueError('The `' + name + '` argument must be a tuple of ' +
77 raise ValueError('The `' + name + '` argument must be a tuple of ' +
83 raise ValueError('The `' + name + '` argument must be a tuple of ' +
197 if isinstance(value, (list, tuple)):
201 raise ValueError('The `padding` argument must be a list/tuple or one of '
255 input_shape: tuple of size N: `(d_in1, ..., d_inN)`
    [all...]
  /external/tensorflow/tensorflow/python/tpu/
training_loop.py 35 tensors. 'body' additionally takes a tuple of infeed from
46 infeed_queue: if not None, the infeed queue from which to append a tuple
123 # If the computation only returned one value, make it a tuple.
124 if not isinstance(outputs, (list, tuple)):
160 output_tensors = control_flow_ops.tuple(output_tensors,
193 infeed_queue: if not None, the infeed queue from which to append a tuple
202 if not isinstance(xs, (list, tuple)):
  /external/python/dateutil/dateutil/
rrule.py 35 M366MASK = tuple([1]*31+[2]*29+[3]*31+[4]*30+[5]*31+[6]*30 +
39 MDAY366MASK = tuple(M31+M29+M31+M30+M31+M30+M31+M31+M30+M31+M30+M31+M31[:7])
42 NMDAY366MASK = tuple(M31+M29+M31+M30+M31+M30+M31+M31+M30+M31+M30+M31+M31[:7])
48 MDAY365MASK = tuple(MDAY365MASK)
49 M365MASK = tuple(M365MASK)
77 MO, TU, WE, TH, FR, SA, SU = weekdays = tuple(weekday(x) for x in range(7))
485 self._bysetpos = tuple(bysetpos)
516 self._bymonth = tuple(sorted(set(bymonth)))
528 self._byyearday = tuple(sorted(set(byyearday)))
538 self._byeaster = tuple(sorted(byeaster)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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)
140 # Test implementation detail: tuple re-use
156 pool = tuple(iterable)
161 yield tuple(pool[i] for i in indices)
    [all...]
test_iter.py 212 # Test a tuple
291 self.assertEqual(tuple(SequenceClass(5)), (0, 1, 2, 3, 4))
292 self.assertEqual(tuple(SequenceClass(0)), ())
293 self.assertEqual(tuple([]), ())
294 self.assertEqual(tuple(()), ())
295 self.assertEqual(tuple("abc"), ("a", "b", "c"))
298 self.assertEqual(tuple(d), tuple(d.keys()))
300 self.assertRaises(TypeError, tuple, list)
301 self.assertRaises(TypeError, tuple, 42)
    [all...]
  /external/python/cpython3/Modules/
_testcapimodule.c 851 PyObject *tuple, *num; local
854 tuple = PyTuple_New(1);
855 if (tuple == NULL)
862 PyTuple_SET_ITEM(tuple, 0, num);
865 if (!PyArg_ParseTuple(tuple, "L:test_L_code", &value)) {
877 PyTuple_SET_ITEM(tuple, 0, num);
880 if (!PyArg_ParseTuple(tuple, "L:test_L_code", &value)) {
887 Py_DECREF(tuple);
1005 /* Test tuple argument processing */
1178 PyObject *tuple, *num; local
1537 PyObject *tuple, *obj; local
1642 PyObject *tuple, *obj; local
1685 PyObject *tuple, *obj; local
2039 PyObject *tuple, *dict = NULL; local
2137 PyObject *tuple = PyTuple_Pack(2, o1, o2); local
    [all...]
  /external/tensorflow/tensorflow/python/keras/
backend.py 859 (integer tuple, may include `None` entries).
885 shape = tuple([None for _ in range(ndim)])
944 """Returns the shape of tensor or variable as a tuple of int or None entries.
950 A tuple of integers (or None entries).
966 if not isinstance(shape, tuple):
967 shape = tuple(shape.as_list())
1059 shape: Tuple of integers, shape of returned Keras variable
    [all...]
  /art/test/970-iface-super-resolution-gen/util-src/
generate_smali.py 553 SUBTREES = [set(tuple(sorted(l)) for l in subtree_sizes(i)) for i in range(MAX_IFACE_DEPTH + 1)]
572 yield TestInterface(tuple(), False)
573 yield TestInterface(tuple(), True)
583 yield TestInterface(tuple([selected] + list(supers)), True)
584 yield TestInterface(tuple([selected] + list(supers)), False)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
copy.py 103 for t in (type(None), int, long, float, bool, str, tuple,
245 y = tuple(y)
251 d[tuple] = _deepcopy_tuple
309 assert isinstance(info, tuple)
338 if isinstance(state, tuple) and len(state) == 2:
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
copy.py 103 for t in (type(None), int, long, float, bool, str, tuple,
245 y = tuple(y)
251 d[tuple] = _deepcopy_tuple
309 assert isinstance(info, tuple)
338 if isinstance(state, tuple) and len(state) == 2:
pprint.py 177 (issubclass(typ, tuple) and r is tuple.__repr__) or
221 if issubclass(typ, tuple) and length == 1:
295 (issubclass(typ, tuple) and r is tuple.__repr__):
  /external/autotest/client/tests/iozone/
postprocessing.py 210 logging.info("ALL %-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s" % tuple(result_line))
229 logging.info("%-10s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s" % tuple(result_line))
248 logging.info("%-10s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s%-8s" % tuple(result_line))
262 @param record: Tuple with 4 elements containing results for record size.
263 @param file: Tuple with 4 elements containing results for file size.
278 logging.info("%-10s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s" % tuple(result_line))
293 logging.info("%-10s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s%-8.6s" % tuple(result_line))
  /external/googletest/googlemock/include/gmock/internal/
gmock-internal-utils.h 64 // Joins a vector of strings as if they are fields of a tuple; returns
460 // represented as a (pointer, size) tuple.
462 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
470 const ::std::tuple<ElementPointer, Size>& array) {
474 static type Copy(const ::std::tuple<ElementPointer, Size>& array) {
517 template <typename F, typename Tuple, size_t... Idx>
518 auto ApplyImpl(F&& f, Tuple&& args, int_pack<Idx...>) -> decltype(
519 std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) {
520 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
523 // Apply the function to a tuple of arguments
    [all...]
  /external/python/cpython2/Lib/
copy.py 103 for t in (type(None), int, long, float, bool, str, tuple,
245 y = tuple(y)
251 d[tuple] = _deepcopy_tuple
309 assert isinstance(info, tuple)
338 if isinstance(state, tuple) and len(state) == 2:
  /external/python/uritemplates/uritemplate/
variable.py 97 name, default_val = tuple(var.split('=', 1))
106 name, prefix = tuple(name.split(':', 1))
351 not isinstance(value, (list, tuple)) or
352 not all(isinstance(t, tuple) and len(t) == 2 for t in value)):
359 return isinstance(value, (list, tuple))
  /external/tensorflow/tensorflow/compiler/xla/service/
bfloat16_normalization.cc 50 // Handle instructions with tuple outputs by examining each output
252 auto tuple = computation_->AddInstruction( local
257 *tuple->mutable_shape() = hlo->shape();
259 TF_RETURN_IF_ERROR(hlo->ReplaceUseWith(user, tuple));
263 computation_->set_root_instruction(tuple);
265 *tuple->mutable_shape() = original_shape;
  /external/libaom/libaom/test/
gviz_api.py 89 parameter. The user defines each column using a tuple of
97 a column description tuple. Here's an example of a dictionary where the key
98 is a tuple, and the value is a list of two tuples:
184 If a tuple is given, it should be in one of the following forms:
209 if isinstance(value, tuple):
210 # In case of a tuple, we run the same function on the value itself and
332 if not isinstance(description, (types.StringTypes, tuple)):
334 "tuple, got %s." % type(description))
339 # According to the tuple's length, we fill the keys
343 raise DataTableException("Description error: expected tuple of
    [all...]
  /external/fonttools/Tests/otlLib/
builder_test.py     [all...]
  /external/tensorflow/tensorflow/contrib/grid_rnn/python/ops/
grid_rnn_cell.py 103 output_is_tuple: If True, the output is a tuple of the outputs of the
142 self._output_size = tuple(self._cells[0].output_size
148 self._state_size = tuple(self._cells[0].state_size
171 A tuple containing:
200 output = tuple(output_tensors)
208 states = tuple(new_state[i] for i in self._config.recurrents)
228 Tuple of the cell value, previous output, and cell_output_size.
249 raise ValueError('Expected state as a tuple of {} '
288 if isinstance(inputs, tuple):
290 raise ValueError('Expect inputs as a tuple of {}
    [all...]

Completed in 1845 milliseconds

<<21222324252627282930>>