Home
last modified time | relevance | path

Searched refs:control_outputs (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/python/framework/
Dsubscribe.py84 control_outputs = {}
87 if control_input not in control_outputs:
88 control_outputs[control_input] = set()
89 control_outputs[control_input].add(op)
90 return control_outputs
102 control_outputs = self.calc_control_outputs(op.graph)
103 self.cache[op.graph] = control_outputs
105 control_outputs = self.cache[op.graph]
106 return control_outputs.get(op, [])
352 control_outputs = _ControlOutputCache()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dadd.pbtxt45 # CHECK-SAME: control_outputs = ""
53 # SOME-SAME: control_outputs = ""
61 # NONE-SAME: control_outputs = ""
69 # UNKNOWN-SAME: control_outputs = ""
77 # DYNAMIC-SAME: control_outputs = ""
Dtarget.pbtxt170 # CHECK-SAME: control_outputs = "AssignAdd"
181 # PRUNE-SAME: control_outputs = "AssignAdd"
196 # PRESERVE-SAME: control_outputs = "Variable/Assign,AssignAdd"
Dmulti-output-feeds.pbtxt273 # CHECK-SAME: control_outputs = ""
286 # PRUNE-SAME: control_outputs = ""
303 # PRESERVE-SAME: control_outputs = ""
Dfeed-as-fetch.pbtxt19 # CHECK-SAME: control_outputs = ""
Darg-as-fetch.pbtxt25 # CHECK-SAME: control_outputs = ""
Dgraph-as-function-retval-of-arg.pbtxt41 # CHECK-SAME: control_outputs = ""
Dfeed-control-dep.pbtxt64 # CHECK-SAME: control_outputs = ""
Dgraph-scalar-input.pbtxt7 # CHECK-SAME: control_outputs = ""
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef.cc318 std::vector<const Node*> control_outputs; in GraphToFunctionDefHelper() local
334 control_outputs.push_back(node); in GraphToFunctionDefHelper()
361 control_outputs, control_output_names, in GraphToFunctionDefHelper()
375 const std::vector<const Node*>& control_outputs, in GraphToFunctionDef() argument
550 (control_outputs.size() != control_output_names.size())) { in GraphToFunctionDef()
552 "Expected number of control outputs (", control_outputs.size(), in GraphToFunctionDef()
557 for (int i = 0; i < control_outputs.size(); ++i) { in GraphToFunctionDef()
562 signature_name = control_outputs[i]->name(); in GraphToFunctionDef()
572 node_names.Lookup(control_outputs[i]->name()); in GraphToFunctionDef()
Dgraph_to_functiondef.h39 const std::vector<const Node*>& control_outputs,
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc558 std::vector<TF_Operation*> control_outputs( in TF_OperationGetControlOutputs_wrapper() local
560 TF_OperationGetControlOutputs(oper, control_outputs.data(), in TF_OperationGetControlOutputs_wrapper()
561 control_outputs.size()); in TF_OperationGetControlOutputs_wrapper()
562 return control_outputs; in TF_OperationGetControlOutputs_wrapper()
583 const std::vector<TF_Operation*>* control_outputs, in TF_GraphToFunction_wrapper() argument
616 control_outputs == nullptr ? 0 : control_outputs->size(), in TF_GraphToFunction_wrapper()
617 control_outputs == nullptr ? nullptr : control_outputs->data(), in TF_GraphToFunction_wrapper()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc44 std::vector<ControlOutput> control_outputs, const int graph_def_version, in GrapplerFunctionItem() argument
51 control_outputs_(std::move(control_outputs)), in GrapplerFunctionItem()
102 const std::vector<ControlOutput>& GrapplerFunctionItem::control_outputs() in control_outputs() function in tensorflow::grappler::GrapplerFunctionItem
282 std::vector<ControlOutput> control_outputs; in MakeGrapplerFunctionItem() local
283 control_outputs.reserve(func.control_ret_size()); in MakeGrapplerFunctionItem()
285 control_outputs.push_back({control_ret.first, control_ret.second}); in MakeGrapplerFunctionItem()
297 std::move(inputs), std::move(outputs), std::move(control_outputs), in MakeGrapplerFunctionItem()
571 for (const ControlOutput& control_out : item.control_outputs()) { in MakeFunctionDef()
Dfunctions.h75 const std::vector<ControlOutput>& control_outputs() const;
102 std::vector<ControlOutput> control_outputs,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_saved_model_lift_variables.mlir8 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
32 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
42 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
70 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
Dtf_saved_model_lift_variables_invalid_session.mlir8 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
25 …attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf…
Dtf_data_fuse_map_and_batch.mlir5 func @fuse_map_and_batch() -> tensor<!tf.variant> attributes {tf.entry_function = {control_outputs
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc291 absl::flat_hash_set<Node*> control_outputs; in BuildXlaLaunchOps() local
297 control_outputs.insert(le->dst()); in BuildXlaLaunchOps()
313 AddControlOutputs(*output_node, &control_outputs); in BuildXlaLaunchOps()
339 control_outputs.erase(node); in BuildXlaLaunchOps()
360 for (Node* n : control_outputs) { in BuildXlaLaunchOps()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dinsert_call_once_op.mlir19 …attributes {tf.entry_function = {control_outputs = "", inputs = "input:0", outputs = "hash_table_L…
35 …attributes {tf.entry_function = {control_outputs = "", inputs = "input:0", outputs = "output:0"}, …
Dinitialize_variables.mlir7 …d_model.index_path = ["output_0"]}) attributes {tf.entry_function = {control_outputs = "", inputs …
48 …d_model.index_path = ["output_0"]}) attributes {tf.entry_function = {control_outputs = "", inputs …
Dlegalize-tf-variables.mlir7 …d_model.index_path = ["output_0"]}) attributes {tf.entry_function = {control_outputs = "", inputs …
42 …d_model.index_path = ["output_0"]}) attributes {tf.entry_function = {control_outputs = "", inputs …
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/end2end/
Dgraph-input-node.pbtxt52 # CHECK-SAME: control_outputs = ""
Dcustom_opdef.pbtxt40 # CHECK: attributes {tf.entry_function = {control_outputs = "", inputs = "input0,input1", outputs =…
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dmlir_roundtrip_flags.h46 std::vector<string> control_outputs; member
Dimport_model.cc698 for (const auto& control_output : specs_.control_outputs) in GetInputOutputNodes()
2202 llvm::ArrayRef<std::string> control_outputs,
2237 TF_RETURN_IF_ERROR(importer.GetControlRetsFromGraph(specs.control_outputs, in Convert()
2252 llvm::interleave(specs.control_outputs, ss, ","); in Convert()
2253 auto control_outputs = in Convert() local
2260 b.getDictionaryAttr({inputs, outputs, control_outputs}))); in Convert()
2267 TF_RETURN_IF_ERROR(importer.GetControlRetsFromGraph(specs.control_outputs, in Convert()
2274 !specs.control_outputs.empty()) { in Convert()
2287 llvm::interleave(specs.control_outputs, ss, ","); in Convert()
2288 auto control_outputs = in Convert() local
[all …]

123