Home
last modified time | relevance | path

Searched refs:identity_n (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Didentity_n_op_py_test.py32 array_ops.identity_n([[1, 2, 3, 4, 5, 6],
45 array_ops.identity_n([inp0, inp1, inp2]))
55 [value] = self.evaluate(array_ops.identity_n([source]))
64 self.assertEqual(shape, array_ops.identity_n([tensor])[0].get_shape())
65 self.assertEqual(shape, array_ops.identity_n([array_2x3])[0].get_shape())
Dfunctional_ops_test.py1234 outputs = array_ops.identity_n(outputs)
1275 outputs = array_ops.identity_n(outputs)
Dresource_variable_ops_test.py327 identity = array_ops.identity_n([c, v.handle])
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc275 string NewIdentityFromIdentityN(int pos, const NodeDef& identity_n, in NewIdentityFromIdentityN() argument
280 strings::StrCat(identity_n.name(), "-", pos, "-grappler-ModelPruner"); in NewIdentityFromIdentityN()
286 .Input(identity_n.input(pos), 0, in NewIdentityFromIdentityN()
287 identity_n.attr().at("T").list().type(pos)) in NewIdentityFromIdentityN()
288 .Device(identity_n.device()) in NewIdentityFromIdentityN()
Dlayout_optimizer_test.cc1191 auto identity_n = ops::IdentityN(s.WithOpName("identity_n"), {vector, conv}); in TEST_F() local
1192 auto add = ops::Add(s.WithOpName("add"), identity_n[0], identity_n[1]); in TEST_F()
Dgeneric_layout_optimizer_transposer_test.cc338 auto identity_n = in CreateSimpleIdentityN() local
342 ops::Identity(scope.WithOpName("conv2d_1_output"), identity_n.output[0]); in CreateSimpleIdentityN()
344 ops::Identity(scope.WithOpName("conv2d_2_output"), identity_n.output[1]); in CreateSimpleIdentityN()
346 ops::Identity(scope.WithOpName("a_output"), identity_n.output[2]); in CreateSimpleIdentityN()
348 ops::Identity(scope.WithOpName("b_output"), identity_n.output[3]); in CreateSimpleIdentityN()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_IdentityN.pbtxt14 y, _ = identity_n([f(x), x])
/external/tensorflow/tensorflow/lite/testing/op_tests/
Didentity.py65 identity_outputs = tf.identity_n(inputs_doubled)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dmulti_arguments_results_v1.py59 [t, s] = array_ops.identity_n([t, s])
/external/tensorflow/tensorflow/compiler/tests/
Dnary_ops_test.py93 self._testNAryLists(array_ops.identity_n,
96 self._testNAryLists(array_ops.identity_n,
102 self._testNAryLists(array_ops.identity_n,
Dxla_device_test.py65 y, = array_ops.identity_n([x])
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dbreakup-islands.cc140 auto identity_n = builder.create<TF::IdentityNOp>( in PopulateEmptyIsland() local
142 for (auto it : llvm::enumerate(identity_n.getResults())) in PopulateEmptyIsland()
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_ops_pass.cc455 ops::IdentityN identity_n(root.WithOpName("int32_id_n"), int32_inputs); in PredicateInt32Inputs() local
457 identity_n.operation.node()); in PredicateInt32Inputs()
460 TF_RETURN_IF_ERROR(root.graph()->UpdateEdge(identity_n[i].node(), i, n, in PredicateInt32Inputs()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_test.py166 array_ops.identity_n([a_2_by_2, b_2_by_2]),
185 z2 = array_ops.identity_n([a_2_by_2, b_2_by_2])
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dmulti-output-feeds.pbtxt16 # z0, z1, z2 = tf.identity_n((w, x, y))
/external/tensorflow/tensorflow/python/ops/
Dcustom_gradient.py419 all_tensors = array_ops.identity_n(all_tensors)
Dgradients_test.py449 c, d = array_ops.identity_n([a, b])
479 c, d = array_ops.identity_n([a, b])
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtf_passes.td108 …%identity_n:2 = "tf.IdentityN"(%arg1, %island_0_result) : (tensor<i32>, tensor<i32>) -> (tensor<i3…
109 tf_executor.yield %identity_n#0
122 …%identity_n:2 = "tf.IdentityN"(%arg1, %identity) : (tensor<i32>, tensor<i32>) -> (tensor<i32>, ten…
123 return %identity, %identity_n#0 : tensor<i32>, tensor<i32>
/external/tensorflow/tensorflow/python/ops/parallel_for/
Darray_test.py361 return array_ops.identity_n([x, array_ops.gather(x, i)])
Dpfor.py1177 reduction_op = array_ops.identity_n(pl_outputs)[0].op
2064 outputs = array_ops.identity_n([x.t for x in pfor_input.inputs])
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt736 name: "identity_n"
/external/tensorflow/tensorflow/python/grappler/
Dlayout_optimizer_test.py1907 outputs = array_ops.identity_n([y1, y])
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt1456 name: "identity_n"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_generated_ops.td5348 y, _ = identity_n([f(x), x])