Home
last modified time | relevance | path

Searched refs:control_ret (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/core/tfrt/eager/
Dtransform_graph_function.cc58 for (const auto& control_ret : fdef.control_ret()) { in TransformGraphFunction() local
59 node_name_to_control_ret.emplace(control_ret.second, control_ret.first); in TransformGraphFunction()
104 for (const auto& control_ret : control_ret_node_names) { in TransformGraphFunction() local
105 node_name_to_control_ret.emplace(control_ret, control_ret); in TransformGraphFunction()
108 for (const auto& control_ret : fdef.control_ret()) { in TransformGraphFunction() local
109 node_name_to_control_ret.emplace(control_ret.second, control_ret.first); in TransformGraphFunction()
171 const auto control_ret = in TransformGraphFunction() local
180 GraphToFunctionDef(*graph, func_name, control_ret, &new_func)); in TransformGraphFunction()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_body.cc51 for (const auto& control_ret : fdef.control_ret()) { in FunctionBody() local
52 control_ret_node_names.insert(control_ret.second); in FunctionBody()
Dprocess_function_library_runtime.cc881 for (const auto& control_ret : control_ret_node_names) { in InstantiateMultiDevice() local
882 node_name_to_control_ret.emplace(control_ret, control_ret); in InstantiateMultiDevice()
885 for (const auto& control_ret : fdef->control_ret()) { in InstantiateMultiDevice() local
886 node_name_to_control_ret.emplace(control_ret.second, control_ret.first); in InstantiateMultiDevice()
1015 const auto control_ret = in InstantiateMultiDevice() local
1065 &control_ret, &options, status, &counter, &data] { in InstantiateMultiDevice()
1085 GraphToFunctionDef(*subgraph, unique_name, control_ret, &shard)); in InstantiateMultiDevice()
/external/tensorflow/tensorflow/core/ir/importexport/tests/graphdef_to_mlir/
Dinvalid_missing_control_result.pbtxt3 # CHECK: Control output 'missing' was not found in 'control_ret'
39 control_ret {
Darg_as_control_ret.pbtxt45 control_ret {
49 control_ret {
Dinvalid_function_import.pbtxt5 # in the function's `control_ret` map.
7 # CHECK: INVALID_ARGUMENT: Control output 'const' was not found in 'control_ret'
Dinvalid_op_name.pbtxt15 control_ret {
Dinvalid_backedge_input_size.pbtxt16 control_ret {
Dinvalid_generic_func_with_empty_control_result.pbtxt21 control_ret {
Dinvalid_missing_data_result_value.pbtxt39 control_ret {
Dinvalid_missing_control_result_value.pbtxt39 control_ret {
Dinvalid_missing_data_result.pbtxt39 control_ret {
/external/tensorflow/tensorflow/core/ir/importexport/tests/roundtrip/
Dtest27.pbtxt192 control_ret {
196 control_ret {
Dgraph-function-control-ret-same-island.pbtxt80 control_ret {
Dtest11.pbtxt699 control_ret {
703 control_ret {
1062 control_ret {
1066 control_ret {
Dgraph-function-control-ret-diff-island.pbtxt91 control_ret {
Dtest18.pbtxt109 control_ret {
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef.cc297 const std::function<absl::optional<string>(const Node*)>& control_ret, in GraphToFunctionDefHelper() argument
331 if (control_ret) { in GraphToFunctionDefHelper()
332 auto control_ret_name = control_ret(node); in GraphToFunctionDefHelper()
588 const std::function<absl::optional<string>(const Node*)>& control_ret, in GraphToFunctionDef() argument
590 return GraphToFunctionDefHelper(graph, name, control_ret, in GraphToFunctionDef()
Dgraph_to_functiondef_test.cc143 const auto control_ret = [](const Node* n) -> absl::optional<string> { in TEST() local
149 TF_EXPECT_OK(GraphToFunctionDef(*graph, "test_fn", control_ret, &fdef)); in TEST()
Dgraph_to_functiondef.h53 const std::function<absl::optional<string>(const Node*)>& control_ret,
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc284 for (const auto& control_ret : func.control_ret()) { in MakeGrapplerFunctionItem() local
285 control_outputs.push_back({control_ret.first, control_ret.second}); in MakeGrapplerFunctionItem()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/
Dfunction-control-ret.mlir18 // CHECK: control_ret {
/external/tensorflow/tensorflow/core/ir/importexport/
Dgraphdef_import.cc614 for (const std::string &control_ret : signature.control_output()) { in ConvertFunctionDef() local
615 auto ret_it = function.control_ret().find(control_ret); in ConvertFunctionDef()
616 if (ret_it == function.control_ret().end()) { in ConvertFunctionDef()
617 return InvalidArgument("Control output '", control_ret, in ConvertFunctionDef()
627 dialect_->getTfgNameAttrIdentifier(), b_.getStringAttr(control_ret)))); in ConvertFunctionDef()
/external/tensorflow/tensorflow/core/data/service/testdata/
Dinterleave_textline_dataset.pbtxt279 control_ret {
482 control_ret {
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dgraph-function-control-ret-same-island.pbtxt92 control_ret {

12