Searched refs:new_fdef (Results 1 – 3 of 3) sorted by relevance
365 FunctionDef new_fdef; in MaybeRewriteWhileNode() local368 TF_RETURN_IF_ERROR(GraphToFunctionDef(*fbody->graph, new_name, &new_fdef)); in MaybeRewriteWhileNode()370 fld->AddFunctionDef(new_fdef, fld->GetStackTraces(attr_value.name()))); in MaybeRewriteWhileNode()456 FunctionDef new_fdef; in MaybeRewriteIfNode() local459 TF_RETURN_IF_ERROR(GraphToFunctionDef(*fbody->graph, new_name, &new_fdef)); in MaybeRewriteIfNode()464 TF_RETURN_IF_ERROR(fld->AddFunctionDef(new_fdef, stack_traces)); in MaybeRewriteIfNode()
123 const FunctionDef* new_fdef = fld->Find(func_name); in AddFunctionDefToGraphLibrary() local124 DCHECK(new_fdef != nullptr); in AddFunctionDefToGraphLibrary()126 *(fdef_lib.add_function()) = *new_fdef; in AddFunctionDefToGraphLibrary()
917 FunctionDef new_fdef; in RewriteTensorListWithConstElement() local921 GraphToFunctionDef(*bwd_fbody->graph, new_name, &new_fdef)); in RewriteTensorListWithConstElement()922 TF_RETURN_IF_ERROR(fld->AddFunctionDef(new_fdef)); in RewriteTensorListWithConstElement()