Home
last modified time | relevance | path

Searched refs:body_name (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow_deprecated_py2.py47 def _create_cond_branch(self, body_name, aliased_orig_names, argument
86 body_name=body_name,
96 template, body_name=body_name, body=body, return_stmt=return_stmt)
98 def _create_cond_expr(self, results, test, body_name, orelse_name, argument
112 body_name=body_name,
126 body_name=body_name,
264 body_name = self.ctx.namer.new_symbol('if_true', body_scope.referenced)
302 body_name,
322 cond_expr = self._create_cond_expr(cond_results, cond_var_name, body_name,
449 body_name=self.ctx.namer.new_symbol('loop_body', reserved_symbols),
[all …]
Dcontrol_flow.py248 body_name=self.ctx.namer.new_symbol('if_body', reserved),
299 body_name=self.ctx.namer.new_symbol('loop_body', reserved),
384 body_name=self.ctx.namer.new_symbol('loop_body', reserved),
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dregion_control_flow_to_functional.cc389 std::string cond_name, body_name; in ConvertWhileOp() local
393 body_name = tti.callee_names[1].str(); in ConvertWhileOp()
411 body_name = GetName(while_region, "_body"); in ConvertWhileOp()
412 ExtractSingleBlockRegion(while_region.body(), body_name, extern_values, in ConvertWhileOp()
425 while_region.getLoc(), new_result_types, new_inputs, cond_name, body_name, in ConvertWhileOp()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_while.cc421 NameAttrList body_name; in FunctionalizeLoop() local
422 body_name.set_name(library->UniqueFunctionName("_functionalize_body_")); in FunctionalizeLoop()
428 GraphToFunctionDef(*body_graph, body_name.name(), &body_fdef)); in FunctionalizeLoop()
438 builder.Attr("body", body_name); in FunctionalizeLoop()
Dfunctionalize_cond.cc758 NameAttrList body_name; in BuildIfNode() local
759 body_name.set_name(library->UniqueFunctionName( in BuildIfNode()
770 body_name.name(), &body_fdef)); in BuildIfNode()
772 builder.Attr(branch_name[branch_index], body_name); in BuildIfNode()
/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc186 string body_name = in TEST_F() local
189 EXPECT_TRUE(TF_GraphOperationByName(graph_, body_name.c_str()) == nullptr); in TEST_F()
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py1038 body_name = "%s_Body" % forbody.name
1040 @function.Defun(*body_sig, func_name=body_name)
Dwhile_v2.py104 body_name = util.unique_fn_name(scope, "body")
195 body_name,
201body_name, collections=ops.get_default_graph()._collections), # pylint: disable=protected-access
/external/autotest/client/cros/faft/utils/
Dflashrom_handler.py32 def __init__(self, sig_name, body_name, fwid_name=None): argument
42 self._body_name = body_name
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants.py626 body_name = self._node.attr["body"].func.name
627 body = self._enclosing_graph.functions[body_name].converted_self().function
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py874 body_name = node.attr["body"].func.name
877 if function_def.signature.name == body_name: