Home
last modified time | relevance | path

Searched refs:rewritten_fdef (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc1889 FunctionDef rewritten_fdef; in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef() local
1891 *(fbody.graph), fbody.fdef.signature().name(), &rewritten_fdef)); in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef()
1893 rewritten_fdef.mutable_signature()->set_name(*new_func_name); in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef()
1894 TF_RETURN_IF_ERROR(fld->AddFunctionDef(rewritten_fdef)); in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef()
1897 fld->ReplaceFunction(fbody.fdef.signature().name(), rewritten_fdef)); in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef()
2316 FunctionDef rewritten_fdef; in LiftOutsideCompilationOnlyArgsFromCallNode() local
2318 *(fbody->graph), fbody->fdef.signature().name(), &rewritten_fdef)); in LiftOutsideCompilationOnlyArgsFromCallNode()
2321 rewritten_fdef.mutable_signature()->set_name(new_func_name); in LiftOutsideCompilationOnlyArgsFromCallNode()
2322 TF_RETURN_IF_ERROR(fld->AddFunctionDef(rewritten_fdef)); in LiftOutsideCompilationOnlyArgsFromCallNode()
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc876 FunctionDef rewritten_fdef; in PostprocessLiftedArgsForCall() local
879 &rewritten_fdef)); in PostprocessLiftedArgsForCall()
882 rewritten_fdef.mutable_signature()->set_name(new_function_name); in PostprocessLiftedArgsForCall()
883 TF_RETURN_IF_ERROR(fld->AddFunctionDef(rewritten_fdef)); in PostprocessLiftedArgsForCall()