Home
last modified time | relevance | path

Searched refs:flattened (Results 1 – 25 of 121) sorted by relevance

12345

/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsignature_flattening_test.cc43 std::vector<const TensorSpecProto*> flattened; in TEST() local
45 TF_EXPECT_OK(internal::FlattenSignature(value, &flattened)); in TEST()
46 EXPECT_EQ(flattened.size(), 0); in TEST()
52 std::vector<const TensorSpecProto*> flattened; in TEST() local
54 TF_EXPECT_OK(internal::FlattenSignature(value, &flattened)); in TEST()
55 EXPECT_EQ(flattened.size(), 0); in TEST()
59 std::vector<const TensorSpecProto*> flattened; in TEST() local
61 TF_EXPECT_OK(internal::FlattenSignature(value, &flattened)); in TEST()
62 EXPECT_EQ(flattened.size(), 1); in TEST()
63 EXPECT_TRUE(TensorSpecsAreEqual(*flattened[0], in TEST()
[all …]
/external/llvm-project/llvm/test/Transforms/SampleProfile/
Dflattened.ll1 ; Check flattened profile will not be read in thinlto postlink.
2 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu…
3 …<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-profile-…
5 ; Check flattened profile will be read in thinlto prelink.
6 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu…
7 …<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-profile-…
9 ; Check flattened profile will be read in non-thinlto mode.
10 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu…
11 …<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-profile-…
/external/cldr/tools/java/org/unicode/cldr/tool/
DMinimizeRegex.java57 Set<String> flattened = flatten(Pattern.compile(regexString), "", set);
58 String regexString2 = Joiner.on("|").join(flattened);
60 if (!flattened2.equals(flattened)) {
65 flattenedOut.value = flattened;
67 return compressWith(flattened, set);
76 public static String compressWith(Set<String> flattened, UnicodeSet set) {
77 String recompressed = compress(flattened, new Output<Boolean>());
88 if (!flattened2.equals(flattened)) {
89 … throw new IllegalArgumentException("Failed to compress:\n" + flattened + "\n≠ " + flattened2);
94 private static String compress(Set<String> flattened, Output<Boolean> isSingle) {
[all …]
/external/skia/src/sksl/ir/
DSkSLConstructorCompound.cpp59 ExpressionArray flattened; in Make() local
60 flattened.reserve_back(fields); in Make()
64 flattened.push_back(std::move(arg)); in Make()
70 flattened.push_back(std::move(innerArg)); in Make()
73 args = std::move(flattened); in Make()
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py564 self.flattened = None
572 if not self.flattened:
573 self.flattened = [None] * len(self.nodes)
575 self.flattened[idx] = node
580 self.flattened = self.flattened[:1]
582 self.flattened = self.flattened[-1:]
588 return self.flattened
609 flattened = self.flatten_nodes()
612 assert len(flattened) == 1
613 if len(flattened) == 1 and self.aggregation != OpHint.AGGREGATE_STACK:
[all …]
/external/libwebsockets/lib/jose/jws/
Djws.c891 lws_jws_write_flattened_json(struct lws_jws *jws, char *flattened, size_t len) in lws_jws_write_flattened_json() argument
898 n += lws_snprintf(flattened + n, len - n , "{\"payload\": \""); in lws_jws_write_flattened_json()
899 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_flattened_json()
901 n += strlen(flattened + n); in lws_jws_write_flattened_json()
903 n += lws_snprintf(flattened + n, len - n , "\",\n \"protected\": \""); in lws_jws_write_flattened_json()
904 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_flattened_json()
906 n += strlen(flattened + n); in lws_jws_write_flattened_json()
909 n += lws_snprintf(flattened + n, len - n , "\",\n \"header\": "); in lws_jws_write_flattened_json()
910 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_UHDR], in lws_jws_write_flattened_json()
912 n += strlen(flattened + n); in lws_jws_write_flattened_json()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_MaxPoolWithArgmax.pbtxt18 4-D. The flattened indices of the max values chosen for each output.
43 Whether to include batch dimension in flattened index of `argmax`.
48 The indices in `argmax` are flattened, so that a maximum value at position
49 `[b, y, x, c]` becomes flattened index:
Dapi_def_UnravelIndex.pbtxt7 flattened version of an array of dimensions dims.
Dapi_def_MaxPoolGradGradWithArgmax.pbtxt50 Whether to include batch dimension in flattened index of `argmax`.
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteArrayOfArrayOfOpaqueUniforms.cpp27 const TVariable *flattened; member
228 return new TIntermBinary(op, new TIntermSymbol(data.flattened), index); in RewriteArrayOfArraySubscriptExpression()
296 data.flattened = new TVariable(mSymbolTable, uniformVariable->name(), newType, in visitDeclaration()
300 decl->appendDeclarator(new TIntermSymbol(data.flattened)); in visitDeclaration()
/external/angle/scripts/
Dexport_targets.py139 flattened = dict(descs[target_name])
160 existing = flattened.get(k, [])
163 flattened[k] = sortedi(set(existing + v))
170 return flattened
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_arrays_test.py196 flattened = nest.flatten(tensors, expand_composites=True)
199 self.assertLen(flattened, 2)
200 self.assertIsInstance(flattened[0], ops.Tensor)
201 self.assertIsInstance(flattened[1], ops.Tensor)
203 repacked = nest.pack_sequence_as(tensors, flattened, expand_composites=True)
/external/dtc/Documentation/
Ddtc-paper.tex44 flattened-tree representation of the system's hardware based on the
55 This flattened-tree approach is now the only supported method of
114 compact, flattened format. The resulting device tree ``blob'' is then
121 directly from the entry point taking a flattened device tree. The
129 \subsection{Properties of the flattened tree}
131 The flattened tree format should be easy to handle, both for the
141 make tweaks to the flattened tree, such as deleting or inserting a
143 having to effectively regenerate the whole flattened tree. In
247 Having seen how to represent the device tree structure as a flattened
249 same as an OF tree''. On OF systems, the flattened tree is
[all …]
/external/llvm-project/llvm/test/tools/llvm-ar/
Dflatten-thin-archive.test4 # The inner thin archive should be flattened, but the regular archive should
6 # flattened members appearing together.
Dflatten-thin-archive-recursive.test4 # This test ensures that flat archives are recursively flattened.
/external/rust/crates/structopt/tests/ui/
Dflatten_and_methods.stderr1 error: methods are not allowed for flattened entry
Dflatten_and_parse.stderr1 error: parse attribute is not allowed for flattened entry
/external/deqp-deps/glslang/Test/
Dhlsl.array.flatten.frag14 … float g_floats[4] = { 10, 11, 12, 13 }; // TODO: ... add when initializer lists can be flattened.
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.array.flatten.frag14 … float g_floats[4] = { 10, 11, 12, 13 }; // TODO: ... add when initializer lists can be flattened.
/external/llvm/test/Transforms/PhaseOrdering/
DPR6627.ll6 ; PR6627 - This whole nasty sequence should be flattened down to a single
51 ; PR6627 - This should all be flattened down to one compare. This is the same
/external/llvm-project/llvm/test/Transforms/PhaseOrdering/
DPR6627.ll6 ; PR6627 - This whole nasty sequence should be flattened down to a single
51 ; PR6627 - This should all be flattened down to one compare. This is the same
/external/jsoncpp/
DCONTRIBUTING.md99 * `test_complex_01.expected`: flattened JSON element tree used to check if
101 * `test_complex_01.actual`: flattened JSON element tree produced by `jsontest`
106 * `test_complex_01.actual-rewrite`: flattened JSON element tree produced by
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py122 flattened = nest.flatten_with_tuple_paths(structure)
129 flattened = [
130 ((arg_names[path[0]],) + path[1:], arg) for path, arg in flattened
133 mapped = [encode_arg(arg, path) for path, arg in flattened]
1209 flattened = nest.flatten(arg_value, expand_composites=True)
1211 for arg in flattened:
/external/tensorflow/tensorflow/python/util/
Dnest_test.py232 flattened = nest.flatten(mess)
233 self.assertEqual(flattened, ["z", 3, 4, 5, 1, 2, 3, 4, 17])
254 unflattened = nest.pack_sequence_as(structure_of_mess, flattened)
268 flattened = nest.flatten(structure)
269 self.assertLen(flattened, 1)
273 flattened = nest.flatten(structure)
274 self.assertLen(flattened, 1)
275 unflattened = nest.pack_sequence_as("goodbye", flattened)
/external/tensorflow/tensorflow/core/protobuf/tpu/
Dtopology.proto20 // A flattened rank 3 int32 array with shape

12345