Home
last modified time | relevance | path

Searched refs:Identity (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/abseil-cpp/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Dcompare_test.cc27 bool Identity(bool b) { return b; } in Identity() function
30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
32 EXPECT_TRUE(Identity(weak_equality::nonequivalent != 0)); in TEST()
33 EXPECT_TRUE(Identity(0 != weak_equality::nonequivalent)); in TEST()
46 EXPECT_TRUE(Identity(strong_equality::equal == 0)); in TEST()
47 EXPECT_TRUE(Identity(0 == strong_equality::equal)); in TEST()
48 EXPECT_TRUE(Identity(strong_equality::nonequal != 0)); in TEST()
49 EXPECT_TRUE(Identity(0 != strong_equality::nonequal)); in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
[all …]
/external/brotli/csharp/org/brotli/dec/
DTransform.cs34 …Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, string.Empty), n…
35 …g.Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(" ", Org.Brotli.Dec.Wo…
36 …Brotli.Dec.WordTransformType.Identity, " the "), new Org.Brotli.Dec.Transform(" ", Org.Brotli.Dec.…
37 …tli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.De…
38 …Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, " and "), new Or…
39 …tli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.De…
40 …Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, " in "), new Org…
41Identity, " to "), new Org.Brotli.Dec.Transform("e ", Org.Brotli.Dec.WordTransformType.Identity, "…
42Identity, "."), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identi…
43 …Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, "]"), new Org.Br…
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dresource-device-inference.mlir18 // CHECK-NEXT: "tf.Identity"
20 %id0 = "tf.Identity"(%arg0) : (!tf_res)
22 // CHECK-NEXT: "tf.Identity"
24 %id1 = "tf.Identity"(%id0) : (!tf_res)
26 // CHECK-NEXT: "tf.Identity"
28 %id2 = "tf.Identity"(%var_handle) : (!tf_res)
31 %id3 = "tf.Identity"(%read) : (tensor<32xf32>) -> tensor<32xf32>
51 // CHECK-NEXT: "tf.Identity"
53 %id0 = "tf.Identity"(%arg0) : (!tf_res)
79 // CHECK-NEXT: "tf.Identity"
[all …]
Dtpu_identity_pruning.mlir3 // Tests Identity op in cluster is pruned away.
8 // CHECK-NOT: "tf.Identity"
12 %1 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
33 // Tests transitive Identity ops reachable from the cluster are pruned away.
51 // CHECK-NOT: "tf.Identity"
54 %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
62 // CHECK-NOT: "tf.Identity"
64 %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
68 // Tests Identity ops not reachable from the cluster are not pruned away.
73 // CHECK: [[IDENTITY:%.*]] = "tf.Identity"([[ARG0]])
[all …]
Dtpu_host_computation_expansion.mlir8 // CHECK-NEXT: "tf.Identity"
11 %1 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
38 // CHECK-NEXT: "tf.Identity"
43 %2 = "tf.Identity"(%1) : (tensor<?xi32>) -> (tensor<?xi32>)
54 // CHECK-NEXT: "tf.Identity"
58 %1 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
71 // CHECK-NEXT: "tf.Identity"
76 %2 = "tf.Identity"(%1) : (tensor<?xi32>) -> (tensor<?xi32>)
87 // CHECK-NEXT: "tf.Identity"
90 "tf.Identity"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
Dfused_kernel_matcher.mlir10 // CHECK: %[[VAL_1:.*]] = "tf.Identity"(%[[VAL_0]]) : (tensor<*xf32>) -> tensor<*xf32>
14 %2 = "tf.Identity"(%1) : (tensor<*xf32>) -> tensor<*xf32>
21 // CHECK: %[[VAL_1:.*]] = "tf.Identity"(%[[VAL_0]]) : (tensor<*xf32>) -> tensor<*xf32>
26 %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
33 // CHECK: %[[VAL_1:.*]] = "tf.Identity"(%[[VAL_0]]) : (tensor<*xf32>) -> tensor<*xf32>
38 %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
45 // CHECK: %[[VAL_1:.*]] = "tf.Identity"(%[[VAL_0]]) : (tensor<*xf32>) -> tensor<*xf32>
50 %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
60 %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
61 %4 = "tf.Identity"(%0) : (tensor<*xf32>) -> tensor<*xf32>
[all …]
Dtpu_device_propagation.mlir22 // CHECK: tf.Identity
24 %1:2 = tf_executor.island wraps "tf.Identity"(%arg0) : (tensor<i64>) -> tensor<i64>
102 // CHECK: tf.Identity
104 %1:2 = tf_executor.island wraps "tf.Identity"(%0#0) : (tensor<i64>) -> tensor<i64>
105 // CHECK: tf.Identity
107 %2:2 = tf_executor.island wraps "tf.Identity"(%0#1) : (tensor<i64>) -> tensor<i64>
136 // CHECK: tf.Identity
138 … %1:2 = tf_executor.island wraps "tf.Identity"(%arg0) {device = ""} : (tensor<i64>) -> tensor<i64>
181 // CHECK: tf.Identity
183 …%0:2 = tf_executor.island wraps "tf.Identity"(%arg0) {device = "/job:localhost/replica:0/task:0/de…
[all …]
Ddevice_copy.mlir8 // CHECK-NOT: tf.Identity
9 …%outputs_0, %control_1 = tf_executor.island wraps "tf.Identity"(%outputs) {device = ""} : (tensor<…
20 // CHECK: tf.Identity
21 …%outputs_0, %control_1 = tf_executor.island wraps "tf.Identity"(%outputs) {device = "/device:CPU:0…
34 // CHECK-NEXT: %[[RESULT_1:.*]] = "tf.Identity"(%[[ARG_3]])
35 %1 = "tf.Identity"(%arg3) : (tensor<i32>) -> tensor<i32>
36 %2 = "tf.Identity"(%arg1) : (tensor<i32>) -> tensor<i32>
Dreadonly_references_to_resources.mlir9 %val1 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
21 %val1 = "tf.Identity"(%val0) {_class = ["loc:@v"]} : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
33 // locations of the ReadVariableOps as Identity ops to keep the original graph
39 %val1 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
40 %val2 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
60 …// expected-error @+1 {{'tf.VariableV2' op expects all users to be 'tf.Identity', but got user tf.…
73 %val1 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
84 %val1 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
95 %val1 = "tf.Identity"(%val0) : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils_test.cc236 name: "Identity"
237 op: "Identity"
247 op: "Identity"
248 input: "Identity:output:0"
332 name: "Identity"
333 op: "Identity"
343 op: "Identity"
344 input: "Identity:output:0"
412 name: "cond/Identity"
413 op: "Identity"
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph.h36 class Identity : public gtl::FlatSet<const GenNode*> {
40 Identity() = default;
41 Identity(InitializerList init);
42 bool operator<(const Identity& other) const;
43 bool operator==(const Identity& other) const;
49 explicit Subgraph(Identity id) : id_(std::move(id)), hash_(id_.Hash()) {} in Subgraph()
52 Subgraph(const Identity& parent_id, GenNode* add_node);
75 const Identity& id() const { return id_; } in id()
88 Identity id_;
105 explicit SubgraphIterator(const Subgraph::Identity* id);
[all …]
Dgraph_analyzer_test.cc154 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F()
175 auto parent = absl::make_unique<Subgraph>(Subgraph::Identity()); in TEST_F()
177 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F()
199 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F()
221 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F()
239 Subgraph::Identity({GetNode("add2"), GetNode("const2_1"), in TEST_F()
258 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("const2_1")})); in TEST_F()
279 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F()
301 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("const2_1")})); in TEST_F()
320 GetResult().insert(absl::make_unique<Subgraph>(Subgraph::Identity({ in TEST_F()
[all …]
Dsubgraph.cc31 Subgraph::Identity::Identity(InitializerList init) { in Identity() function in tensorflow::grappler::graph_analyzer::Subgraph::Identity
37 bool Subgraph::Identity::operator<(const Identity& other) const { in operator <()
57 bool Subgraph::Identity::operator==(const Identity& other) const { in operator ==()
70 size_t Subgraph::Identity::Hash() const { in Hash()
112 Subgraph::Subgraph(const Identity& parent_id, GenNode* add_node) in Subgraph()
120 SubgraphIterator::SubgraphIterator(const Subgraph::Identity* id) in SubgraphIterator()
214 Subgraph* SubgraphPtrSet::ExtendParent(const Subgraph::Identity& parent_id, in ExtendParent()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dgraph-function-defs.pbtxt135 op: "Identity"
153 op: "Identity"
277 name: "Identity"
278 op: "Identity"
296 op: "Identity"
315 input: "Identity"
359 op: "Identity"
371 op: "Identity"
426 name: "Identity"
427 op: "Identity"
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner_test.cc103 Output c = ops::Identity(s.WithOpName("c").WithControlDependencies(b), b); in TEST_F()
104 Output d = ops::Identity(s.WithOpName("d"), c); in TEST_F()
282 Output id0 = ops::Identity(scope.WithOpName("id0"), s.output_true); in TEST_F()
285 ops::Identity(scope.WithOpName("id1").WithControlDependencies(v_ctrl), in TEST_F()
287 Output id2 = ops::Identity(scope.WithOpName("id2"), id0); in TEST_F()
288 Output id3 = ops::Identity( in TEST_F()
323 Output b = ops::Identity(s.WithOpName("b"), a); in TEST_F()
324 Output c = ops::Identity(s.WithOpName("c"), b); in TEST_F()
325 Output d = ops::Identity(s.WithOpName("d"), c); in TEST_F()
326 Output e = ops::Identity(s.WithOpName("e"), d); in TEST_F()
[all …]
Ddependency_optimizer_test.cc74 ops::Identity(s.WithOpName("id1").WithControlDependencies(x), add); in TEST_F()
75 Output id2 = ops::Identity( in TEST_F()
110 ops::Identity(s.WithOpName("id1").WithControlDependencies(add), x); in TEST_F()
112 ops::Identity(s.WithOpName("id2").WithControlDependencies(add), y); in TEST_F()
156 ops::Identity(s.WithOpName("id1").WithControlDependencies(add), x); in TEST_F()
202 Output ctrl_dep_id = ops::Identity( in TEST_F()
246 ops::Identity(s.WithOpName("id1").WithControlDependencies(add), x); in TEST_F()
248 ops::Identity(s.WithOpName("id2").WithControlDependencies(add), y); in TEST_F()
267 Output id = ops::Identity(s.WithControlDependencies({noop1.operation}), x); in TEST_F()
305 Output id = ops::Identity( in TEST_F()
[all …]
Dlayout_optimizer_test.cc158 ops::Identity(s->WithOpName("InputSizesIdentity"), input_sizes); in SimpleConv2DBackpropInput()
233 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
268 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
290 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
303 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
316 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
329 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
342 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
355 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
368 Output fetch = ops::Identity(s.WithOpName("Fetch"), {conv}); in TEST_F()
[all …]
Dremapper_test.cc156 auto fetch = ops::Identity(s.WithOpName("fetch"), relu); in TEST_F()
268 auto fetch = ops::Identity(s.WithOpName("fetch"), relu); in TEST_F()
347 auto fetch = ops::Identity(s.WithOpName("fetch"), bias_add); in TEST_F()
411 auto fetch = ops::Identity(s.WithOpName("fetch"), bias_add); in RunTest()
491 ops::Identity fetch = [&]() -> ops::Identity { in TEST_F()
494 return ops::Identity(fetch, ops::Relu(activate, bias_add)); in TEST_F()
565 ops::Identity fetch = [&]() -> ops::Identity { in TEST_F()
570 return ops::Identity(fetch, ops::Relu(activate, bias_add)); in TEST_F()
572 return ops::Identity(fetch, ops::Relu6(activate, bias_add)); in TEST_F()
574 return ops::Identity(fetch, ops::Elu(activate, bias_add)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass_test.cc84 auto consumer0_a = ops::Identity(scope.WithOpName("consumer0_a"), out0); in MakeOuterGraph()
85 auto consumer0_b = ops::Identity(scope.WithOpName("consumer0_b"), out0); in MakeOuterGraph()
86 auto consumer0_c = ops::Identity(scope.WithOpName("consumer0_c"), out0); in MakeOuterGraph()
87 auto consumer1 = ops::Identity(scope.WithOpName("consumer1"), out1); in MakeOuterGraph()
88 auto consumer2 = ops::Identity(scope.WithOpName("consumer2"), out2); in MakeOuterGraph()
89 auto consumer3 = ops::Identity(scope.WithOpName("consumer3"), out3); in MakeOuterGraph()
114 auto b_identity = ops::Identity(scope.WithOpName("B_identity"), arg1); in MakeBodyGraph()
222 auto b_identity = ops::Identity(scope.WithOpName("B_identity"), b); in TEST()
244 auto consumer0_a = ops::Identity(scope.WithOpName("consumer0_a"), out0); in TEST()
245 auto consumer0_b = ops::Identity(scope.WithOpName("consumer0_b"), out0); in TEST()
[all …]
/external/eigen/doc/snippets/
DTutorial_AdvancedInitialization_ThreeWays.cpp4 mat1.topRightCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
5 mat1.bottomLeftCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
17 mat3 << MatrixXd::Zero(size/2, size/2), MatrixXd::Identity(size/2, size/2),
18 MatrixXd::Identity(size/2, size/2), MatrixXd::Zero(size/2, size/2);

12345678910>>...21