Home
last modified time | relevance | path

Searched refs:flatten (Results 1 – 25 of 592) sorted by relevance

12345678910>>...24

/external/clang/test/SemaCXX/
Dattr-flatten.cpp3 int i __attribute__((flatten)); // expected-error {{'flatten' attribute only applies to functions}}
5 void f1() __attribute__((flatten));
6 void f2() __attribute__((flatten(1))); // expected-error {{'flatten' attribute takes no arguments}}
9 void tf1() __attribute__((flatten));
11 int f3(int __attribute__((flatten)), int); // expected-error{{'flatten' attribute only applies to f…
14 …int f __attribute__((flatten)); // expected-error{{'flatten' attribute only applies to functions}}
15 void mf1() __attribute__((flatten));
16 static void mf2() __attribute__((flatten));
19 int ci [[gnu::flatten]]; // expected-error {{'flatten' attribute only applies to functions}}
21 [[gnu::flatten]] void cf1();
[all …]
/external/tensorflow/tensorflow/python/data/util/
Dsparse.py37 return any(c is sparse_tensor.SparseTensor for c in nest.flatten(classes))
54 for shape, c in zip(nest.flatten(shapes), nest.flatten(classes))
73 for ty, c in zip(nest.flatten(types), nest.flatten(classes))
95 nest.flatten(tensors), nest.flatten(types), nest.flatten(shapes),
96 nest.flatten(classes))
115 for tensor in nest.flatten(tensors)
132 for tensor in nest.flatten(tensors)
150 for tensor in nest.flatten(tensors)
Dnest_test.py39 self.assertEqual(nest.flatten(structure), [3, 4, 5, 6, 7, 9, 10, 8])
46 self.assertEqual(nest.flatten(structure), flat)
54 self.assertEqual([5], nest.flatten(5))
55 self.assertEqual([np.array([5])], nest.flatten(np.array([5])))
74 ordered_flat = nest.flatten(ordered)
75 plain_flat = nest.flatten(plain)
110 flattened = nest.flatten(mess)
143 self.assertEqual([st], nest.flatten(single_value))
144 self.assertEqual([[st, st, st]], nest.flatten(list_of_values))
145 self.assertEqual([st, st, st], nest.flatten(nest_of_values))
[all …]
Dstructure.py86 components = nest.flatten(element)
144 flat_types = nest.flatten(output_types)
145 flat_shapes = nest.flatten(output_shapes)
146 flat_classes = nest.flatten(output_classes)
193 flat_specs = nest.flatten(element_spec)
268 nest.flatten(element_spec), [])
324 reduce_fn, zip(nest.flatten(element_spec), nest.flatten(element)), [])
399 for s1, s2 in zip(nest.flatten(spec1), nest.flatten(spec2)):
/external/python/cffi/testing/cffi0/
Dtest_platform.py2 from cffi.ffiplatform import maybe_relative_path, flatten
20 assert flatten("foo") == "3sfoo"
21 assert flatten(-10000000000000000000000000000) == \
23 assert flatten([4, 5]) == "2l4i5i"
24 assert flatten({4: 5}) == "1d4i5i"
25 assert flatten({"foo": ("bar", "baaz")}) == "1d3sfoo2l3sbar4sbaaz"
/external/python/cpython3/Lib/test/test_email/
Dtest_generator.py91 g.flatten(msg)
98 g.flatten(msg)
106 g.flatten(msg)
114 g.flatten(msg)
122 g.flatten(msg)
131 g.flatten(msg)
140 g.flatten(msg, linesep='\n')
162 g.flatten(msg)
169 g.flatten(msg)
192 g.flatten(msg)
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dnode.py117 t for t in nest.flatten(self.arguments) if isinstance(t, ops.Tensor)
125 for layer in nest.flatten(inbound_layers):
146 nest.flatten(self.inbound_layers),
147 nest.flatten(self.node_indices),
148 nest.flatten(self.tensor_indices),
149 nest.flatten(self.input_tensors)))
153 kt for kt in nest.flatten(self.arguments)
174 for arg in nest.flatten(self.arguments):
Dcompile_utils.py51 metric_obj for metric_obj in nest.flatten(self._per_output_metrics)
80 self._losses = nest.flatten(self._losses)
81 self._loss_weights = nest.flatten(self._loss_weights)
114 y_true = nest.flatten(y_true)
115 y_pred = nest.flatten(y_pred)
125 sample_weight = nest.flatten(sample_weight)
211 metric_obj for metric_obj in nest.flatten(self._metrics)
215 metric_obj for metric_obj in nest.flatten(self._weighted_metrics)
291 flat_y_true = nest.flatten(y_true)
292 flat_y_pred = nest.flatten(y_pred)
[all …]
Dnetwork.py228 if isinstance(inputs, list) and len(nest.flatten(inputs)) == 1:
230 if isinstance(outputs, list) and len(nest.flatten(outputs)) == 1:
234 self.inputs = nest.flatten(inputs)
235 self.outputs = nest.flatten(outputs)
427 trackable_layer_utils.has_weights(v) for v in nest.flatten(value)):
721 if len(nest.flatten(input_shape)) != len(nest.flatten(self._input_layers)):
732 for layer, shape in zip(self._input_layers, nest.flatten(input_shape)):
769 for j, shape in enumerate(nest.flatten(layer_output_shapes)):
820 inputs = nest.flatten(inputs)
825 masks = nest.flatten(mask)
[all …]
Dtraining_eager.py55 outputs = nest.flatten(outputs)
56 targets = nest.flatten(targets)
124 for input_t in nest.flatten(inputs)):
128 outs = nest.flatten(outs)
140 targets = nest.flatten(targets)
320 total_loss = nest.flatten(total_loss)
363 total_loss = nest.flatten(total_loss)
/external/icu/icu4c/source/python/icutools/databuilder/
Drequest_types.py50 def flatten(self, config, all_requests, common_vars): member in AbstractRequest
118 def flatten(self, config, all_requests, common_vars): member in AbstractExecutionRequest
120 return super(AbstractExecutionRequest, self).flatten(config, all_requests, common_vars)
196 def flatten(self, config, all_requests, common_vars): member in RepeatedOrSingleExecutionRequest
220 return new_request.flatten(config, all_requests, common_vars)
269 def flatten(self, config, all_requests, common_vars): member in ListRequest
280 ).flatten(config, all_requests, common_vars) + VariableRequest(
283 ).flatten(config, all_requests, common_vars)
315 def flatten(self, config, all_requests, common_vars): member in IndexRequest
321 ).flatten(config, all_requests, common_vars) +
[all …]
/external/tensorflow/tensorflow/python/ops/
Drnn.py113 inferred_dtypes = [element.dtype for element in nest.flatten(state)]
230 flat_state = nest.flatten(state)
231 flat_zero_output = nest.flatten(zero_output)
267 flat_new_state = nest.flatten(new_state)
268 flat_new_output = nest.flatten(new_output)
286 new_state = nest.flatten(new_state)
287 new_output = nest.flatten(new_output)
333 flat_input_seq = tuple(nest.flatten(input_) for input_ in input_seq)
651 flat_input = nest.flatten(inputs)
765 flat_input = nest.flatten(inputs)
[all …]
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops.py64 flat_loop_fn_dtypes = nest.flatten(loop_fn_dtypes)
69 fn_output = nest.flatten(loop_fn(i))
241 for loop_fn_output in nest.flatten(loop_fn_outputs):
268 for loop_fn_output in nest.flatten(loop_fn_outputs):
283 flattened_loop_fn_outputs = nest.flatten(loop_fn_outputs)
296 return nest.flatten(loop_fn(i + offset, pfor_config=pfor_config))
298 return nest.flatten(loop_fn(i + offset))
317 return nest.pack_sequence_as(loop_fn_outputs, nest.flatten(outputs))
402 first_elem = ops.convert_to_tensor(nest.flatten(elems)[0])
Dtest_util.py33 targets1 = nest.flatten(targets1)
34 targets2 = ([] if targets2 is None else nest.flatten(targets2))
43 outputs = nest.flatten(outputs) # flatten SparseTensorValues
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dscan_ops.py70 nest.flatten(new_state_classes),
71 nest.flatten(old_state_classes)):
84 nest.flatten(new_state_types), nest.flatten(old_state_types)):
99 flat_state_shapes = nest.flatten(old_state_shapes)
100 flat_new_state_shapes = nest.flatten(new_state_shapes)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddata.py69 data_files.extend(item.flatten(installer))
106 def flatten(self, installer): member in Data
137 def flatten(self, installer): member in Documentation
141 return Data.flatten(self, installer)
161 def flatten(self, installer): member in Manpages
165 return Documentation.flatten(self, installer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py69 data_files.extend(item.flatten(installer))
106 def flatten(self, installer): member in Data
137 def flatten(self, installer): member in Documentation
141 return Data.flatten(self, installer)
161 def flatten(self, installer): member in Manpages
165 return Documentation.flatten(self, installer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddata.py69 data_files.extend(item.flatten(installer))
106 def flatten(self, installer): member in Data
137 def flatten(self, installer): member in Documentation
141 return Data.flatten(self, installer)
161 def flatten(self, installer): member in Manpages
165 return Documentation.flatten(self, installer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py69 data_files.extend(item.flatten(installer))
106 def flatten(self, installer): member in Data
137 def flatten(self, installer): member in Documentation
141 return Data.flatten(self, installer)
161 def flatten(self, installer): member in Manpages
165 return Documentation.flatten(self, installer)
/external/cldr/tools/java/org/unicode/cldr/tool/
DMinimizeRegex.java57 Set<String> flattened = flatten(Pattern.compile(regexString), "", set);
59 Set<String> flattened2 = flatten(Pattern.compile(regexString2), "", set);
80 flattened2 = flatten(Pattern.compile(recompressed), "", set);
152 public static TreeSet<String> flatten(Pattern pattern, String prefix, UnicodeSet set) {
153 return flatten(pattern.matcher(""), prefix, set, new TreeSet<>(LENGTH_FIRST_COMPARE));
156 …private static TreeSet<String> flatten(Matcher matcher, String prefix, UnicodeSet set, TreeSet<Str…
165 flatten(matcher, trial, set, results);
/external/python/cpython2/Lib/compiler/
Dast.py7 def flatten(seq): function
12 for elt2 in flatten(elt):
19 return [n for n in flatten(seq) if isinstance(n, Node)]
74 return tuple(flatten(self.nodes))
106 return tuple(flatten(self.nodes))
137 return tuple(flatten(self.nodes))
177 children.extend(flatten(self.nodes))
226 return tuple(flatten(self.nodes))
242 return tuple(flatten(self.nodes))
258 return tuple(flatten(self.nodes))
[all …]
/external/angle/third_party/glslang/src/Test/
Dspv.controlFlowAttributes.frag21 [[flatten]] if (cond) { } else { }
31 [[flatten(3)]] if (cond) { } else { }
42 flatten
/external/skqp/src/effects/
DSkOpPE.h19 void flatten(SkWriteBuffer&) const override;
37 void flatten(SkWriteBuffer&) const override;
53 void flatten(SkWriteBuffer&) const override;
/external/skia/src/effects/
DSkOpPE.h19 void flatten(SkWriteBuffer&) const override;
37 void flatten(SkWriteBuffer&) const override;
53 void flatten(SkWriteBuffer&) const override;
/external/deqp-deps/glslang/Test/
Dspv.controlFlowAttributes.frag21 [[flatten]] if (cond) { } else { }
31 [[flatten(3)]] if (cond) { } else { }
42 flatten

12345678910>>...24