| /external/tensorflow/tensorflow/core/kernels/hexagon/ |
| graph_transfer_utils.cc | 31 /* static */ std::priority_queue<std::tuple<float, int, string>> 37 std::priority_queue<std::tuple<float, int, string>> queue; 47 std::priority_queue<std::tuple<float, int, string>> queue = 51 const std::tuple<float, int, string>& entry = queue.top();
|
| /external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
| resolve_constant_unary_test.cc | 15 #include <tuple>
|
| /external/tensorflow/tensorflow/python/autograph/converters/ |
| side_effect_guards.py | 76 if isinstance(n, (list, tuple)): 149 guarded_args = tuple(s for s in live_out 163 need_alias = tuple( 165 aliased_new_names = tuple( 174 aliased_guarded_args = gast.Tuple(
|
| /external/tensorflow/tensorflow/python/autograph/lang/ |
| special_functions.py | 37 if isinstance(elements, (list, tuple)): 46 'unknown type for elements: {}; only Tensor, list and tuple are'
|
| /external/tensorflow/tensorflow/python/autograph/operators/ |
| control_flow.py | 50 argument for initial_state may contain the tuple (1, 0), the body will 51 include the arguments geo_mean and arith_mean and will return a tuple 60 init_state: Tuple containing the initial state. 63 Tuple containing the final state. 77 .format(tuple(undefined_symbols))) 122 if isinstance(results, (tuple, list)): 161 a tuple of entities that represent an actual state, or a list of arguments 169 init_state: Tuple containing the initial state. 170 extra_deps: Tuple containing additional entities on which the loop may 176 Tuple containing the final state [all...] |
| /external/tensorflow/tensorflow/python/data/kernel_tests/ |
| skip_test.py | 42 [tuple(components[0][i:i + 1]) for i in range(start_range, 10)])
|
| take_test.py | 41 dataset, [tuple(components[0][i:i + 1]) for i in range(num_output)])
|
| /external/tensorflow/tensorflow/python/eager/ |
| graph_only_ops.py | 45 if isinstance(shape, (list, tuple)):
|
| /external/tensorflow/tensorflow/python/keras/utils/ |
| np_utils.py | 43 input_shape = tuple(input_shape[:-1])
|
| tf_utils.py | 115 if isinstance(x, tuple(_user_convertible_tensor_types)): 213 if (isinstance(input_shape, (tuple, list)) and 221 input_shape = tuple(input_shape.as_list()) 277 """Decorator that handles tuple/TensorShape conversion. 333 if isinstance(tensor, tuple(_user_convertible_tensor_types)):
|
| /external/tensorflow/tensorflow/python/training/ |
| coordinator.py | 134 clean_stop_exception_types: Optional tuple of Exception types that should 144 self._clean_stop_exception_types = tuple(clean_stop_exception_types) 151 # a tuple containing exception (type, value, traceback). 172 ex: None, an `Exception`, or a Python `exc_info` tuple as returned by 178 if isinstance(ex, tuple): 197 ex: Optional `Exception`, or Python `exc_info` tuple as returned by 208 if isinstance(ex, tuple): 216 if isinstance(ex, tuple): 226 # self._exc_info_to_raise should contain a tuple containing exception 235 "ex must be a tuple or sys.exc_info must return the current [all...] |
| /external/v8/tools/dev/ |
| gen-tags.py | 80 if not file.endswith(tuple(exts)): continue
|
| /development/vndk/tools/header-checker/utils/ |
| utils.py | 86 def run_header_abi_dumper(input_path, cflags=tuple(), 88 flags=tuple()): 99 export_include_dirs=tuple(), cflags=tuple(), 100 flags=tuple()): 128 flags=tuple()): 264 flags=tuple()):
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
| Tuples.py | 12 t = tuple(range(100))
261 t = tuple(range(100))
291 t = tuple(l)
307 t = tuple(l)
323 t = tuple(l)
339 t = tuple(l)
355 t = tuple(l)
|
| /external/python/cpython2/Tools/pybench/ |
| Tuples.py | 12 t = tuple(range(100)) 261 t = tuple(range(100)) 291 t = tuple(l) 307 t = tuple(l) 323 t = tuple(l) 339 t = tuple(l) 355 t = tuple(l)
|
| /external/python/cpython3/Lib/ |
| typing.py | 10 currently only used by Tuple and Callable. All subscripted types like X[int], Union[int, str], 41 'Tuple', 174 return tuple(tvars) 192 return Union[tuple(new_args)] 193 return tp.copy_with(tuple(new_args)) 218 elif isinstance(p, tuple) and len(p) > 0 and p[0] is Union: 232 return tuple(params) 262 ev_args = tuple(_eval_type(a, globalns, localns) for a in t.__args__) 305 isinstance(args[1], tuple)): 345 if not isinstance(parameters, tuple) [all...] |
| /external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
| BaseConstructor.java | 360 for (NodeTuple tuple : nodeValue) { 361 Node keyNode = tuple.getKeyNode(); 362 Node valueNode = tuple.getValueNode(); 369 node.getStartMark(), "found unacceptable key " + key, tuple 392 for (NodeTuple tuple : nodeValue) { 393 Node keyNode = tuple.getKeyNode(); 400 "found unacceptable key " + key, tuple.getKeyNode().getStartMark(), e);
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| bfloat16_conversion_folding_test.cc | 199 HloInstruction* tuple = local 202 HloInstruction::CreateGetTupleElement(f32_shape, tuple, 0)); 213 EXPECT_EQ(tuple->operand(1), convert0); 249 HloInstruction* tuple = builder.AddInstruction( local 256 EXPECT_EQ(computation->root_instruction(), tuple); 257 EXPECT_EQ(tuple->operand(0), gte_a); 258 EXPECT_EQ(tuple->operand(1), gte_b);
|
| hlo_dataflow_analysis_test.cc | 145 // Verify the dataflow through a Tuple and GetTupleElement instructions. 151 auto tuple = local 154 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 0)); 156 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 165 // The two params, tuple, and add should each define one value. 170 EXPECT_TRUE(analysis.ValueIsDefinedAt(tuple, /*index=*/{})); 171 EXPECT_FALSE(analysis.ValueIsDefinedAt(tuple, /*index=*/{0})); 172 EXPECT_FALSE(analysis.ValueIsDefinedAt(tuple, /*index=*/{1})); 180 UnorderedElementsAre(HloPosition{param0, {}}, HloPosition{tuple, {0}}, 184 UnorderedElementsAre(HloPosition{param1, {}}, HloPosition{tuple, {1}} 207 auto tuple = builder.AddInstruction( local 513 auto tuple = builder.AddInstruction( local 615 auto tuple = builder.AddInstruction( local 707 auto tuple = builder.AddInstruction( local 803 auto tuple = builder.AddInstruction( local 1063 auto tuple = local 1144 auto tuple = local 1970 auto tuple = builder.AddInstruction(HloInstruction::CreateParameter( local 1993 auto tuple = builder.AddInstruction(HloInstruction::CreateParameter( local 2036 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({t1, t0})); local 2133 auto tuple = local 2304 auto tuple = builder.AddInstruction(HloInstruction::CreateParameter( local 2342 auto tuple = builder.AddInstruction(HloInstruction::CreateParameter( local [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_pprint.py | 12 # list, tuple and dict subclasses that do or don't overwrite __repr__
20 class tuple2(tuple):
23 class tuple3(tuple):
25 return tuple.__repr__(self)
159 o = tuple(range(100))
161 for type in [tuple, tuple2]:
192 # alphabetic order of type names: "int" < "str" < "tuple". Before
|
| /external/google-breakpad/src/testing/test/ |
| gmock-generated-matchers_test.cc | 58 using std::tr1::tuple; 109 const tuple<int, bool> t(5, true); 110 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); 111 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>())))); 115 const tuple<int, bool> t(5, true); 122 const tuple<short, int, long> t(4, 5, 6L); // NOLINT 130 const tuple<short, int, long> t(4, 5, 6L); // NOLINT 136 const tuple<short, int, long> t(4, 5, 6L); // NOLINT 161 const tuple<short, int, long, int> t(4, 5, 6L, 6); // NOLINT 167 typedef tuple<char, int, int> Tuple3 [all...] |
| /external/google-fruit/include/fruit/impl/component_storage/ |
| component_storage_entry.defn.h | 76 std::tuple<Args...> args_tuple; 79 inline ComponentInterfaceImpl(fun_t fun, std::tuple<Args...> args_tuple) 114 std::tuple<Args...> args_tuple) { 132 std::tuple<Args...> args_tuple) { 144 std::tuple<Args...> args_tuple) {
|
| /external/python/cpython2/Lib/test/ |
| test_pprint.py | 12 # list, tuple and dict subclasses that do or don't overwrite __repr__ 20 class tuple2(tuple): 23 class tuple3(tuple): 25 return tuple.__repr__(self) 178 o = tuple(range(100)) 180 for type in [tuple, tuple2]: 211 # alphabetic order of type names: "int" < "str" < "tuple". Before
|
| /external/python/setuptools/pkg_resources/_vendor/packaging/ |
| version.py | 153 parts = tuple(parts) 207 release=tuple(int(i) for i in match.group("release").split(".")), 337 return tuple( 347 # re-reverse it back into the correct order and make it a tuple and use 349 release = tuple( 388 local = tuple(
|
| /external/python/setuptools/setuptools/_vendor/packaging/ |
| version.py | 153 parts = tuple(parts) 207 release=tuple(int(i) for i in match.group("release").split(".")), 337 return tuple( 347 # re-reverse it back into the correct order and make it a tuple and use 349 release = tuple( 388 local = tuple(
|