Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/tools/bindings/
Dmojom_types_downgrader.py32 def ReplaceFunction(match_object): function
48 tmp_contents = _REGEXP_PATTERN.sub(ReplaceFunction, src_mojo_file.read())
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc1318 fld->ReplaceFunction(shape_inference_graph_name, fdef_replace)); in RewriteShapeInferenceGraph()
1386 TF_RETURN_IF_ERROR(fld->ReplaceFunction(func_name, replace_fdef)); in ReplaceKeyPlaceholderWithArgNode()
1465 fld->ReplaceFunction(host_graph_func_name, oc_host_graph_fdef)); in BuildHostGraphForIfNode()
1532 fld->ReplaceFunction(loop_cond_func->name(), replace_fdef)); in AddSendLoopPredToLoopCond()
1620 fld->ReplaceFunction(cond_host_func_name, cond_replace_fdef)); in RewriteHostWhileLoopCond()
1680 fld->ReplaceFunction(body_host_func_name, body_replace_fdef)); in RewriteHostWhileLoopBody()
1746 fld->ReplaceFunction(host_graph_func_name, oc_host_graph_fdef)); in BuildHostGraphForWhileNode()
1797 fld->ReplaceFunction(host_graph_func_name, oc_host_graph_fdef)); in BuildHostGraphForFuncCallNode()
1977 TF_RETURN_IF_ERROR(fld->ReplaceFunction(then_branch_host_func_name, in ExtractOutsideCompilationForIfNode()
1994 TF_RETURN_IF_ERROR(fld->ReplaceFunction(else_branch_host_func_name, in ExtractOutsideCompilationForIfNode()
[all …]
Dencapsulate_subgraphs_pass.cc639 TF_RETURN_IF_ERROR(library->ReplaceFunction(name, fdef)); in BuildFunctionDef()
659 TF_RETURN_IF_ERROR(library->ReplaceFunction(name, fdef)); in ReplaceFunctionDef()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmeta_optimizer.cc150 flib.ReplaceFunction(func->signature().name(), optimized_func)); in Optimize()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow.cc263 fld->ReplaceFunction(new_func_name, functionalized_fdef)); in FunctionalizeControlFlowForFunction()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc896 TF_RETURN_IF_ERROR(flib.ReplaceFunction(func_name, optimized_func)); in OptimizeConsumeItem()
1023 TF_RETURN_IF_ERROR(flib->ReplaceFunction(func_name, fdef)); in OptimizeGraph()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc1897 fld->ReplaceFunction(fbody.fdef.signature().name(), rewritten_fdef)); in LiftOutsideCompilationOnlyArgsAndReplaceFunctionDef()
2161 TF_RETURN_IF_ERROR(fld->ReplaceFunction(cond_fbody->fdef.signature().name(), in LiftOutsideCompilationOnlyArgsFromWhileNode()
2179 TF_RETURN_IF_ERROR(fld->ReplaceFunction(body_fbody->fdef.signature().name(), in LiftOutsideCompilationOnlyArgsFromWhileNode()
2235 TF_RETURN_IF_ERROR(fld->ReplaceFunction( in LiftOutsideCompilationOnlyArgsFromIfNode()
2250 TF_RETURN_IF_ERROR(fld->ReplaceFunction( in LiftOutsideCompilationOnlyArgsFromIfNode()
2952 TF_RETURN_IF_ERROR(fld->ReplaceFunction(xla_func_name, replace_fdef)); in ProcessHeadTailOutsideCompilation()
Ddistributed_tpu_rewrite_pass.cc632 TF_RETURN_IF_ERROR(flib_def->ReplaceFunction(function_name, graph_fdef)); in UpdateFunctionLibDefinition()
/external/tensorflow/tensorflow/core/framework/
Dfunction.h425 Status ReplaceFunction(const std::string& func, const FunctionDef& fdef)
Dfunction.cc1427 Status FunctionLibraryDefinition::ReplaceFunction(const string& func, in ReplaceFunction() function in tensorflow::FunctionLibraryDefinition
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc820 TF_RETURN_IF_ERROR((*optimized_flib)->ReplaceFunction(func_name, fdef)); in OptimizeGraph()