Home
last modified time | relevance | path

Searched refs:ReplaceFunction (Results 1 – 8 of 8) 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.cc639 fld->ReplaceFunction(body_func.name(), rewritten_body_function_def)); in PostprocessLiftedArgsForWhile()
663 fld->ReplaceFunction(cond_func.name(), rewritten_cond_function_def)); in PostprocessLiftedArgsForWhile()
784 TF_RETURN_IF_ERROR(fld->ReplaceFunction(then_branch_func.name(), in PostprocessLiftedArgsForIf()
791 TF_RETURN_IF_ERROR(fld->ReplaceFunction(else_branch_func.name(), in PostprocessLiftedArgsForIf()
853 TF_RETURN_IF_ERROR(fld->ReplaceFunction(n->type_string(), rewritten_fdef)); in PostprocessLiftedArgsForCall()
1283 fld->ReplaceFunction(shape_inference_graph_name, fdef_replace)); in RewriteShapeInferenceGraph()
1351 TF_RETURN_IF_ERROR(fld->ReplaceFunction(func_name, replace_fdef)); in ReplaceKeyPlaceholderWithArgNode()
1430 fld->ReplaceFunction(host_graph_func_name, oc_host_graph_fdef)); in BuildHostGraphForIfNode()
1493 TF_RETURN_IF_ERROR(fld->ReplaceFunction(loop_cond_func.name(), replace_fdef)); in AddSendLoopPredToLoopCond()
1569 fld->ReplaceFunction(cond_host_func_name, cond_replace_fdef)); in RewriteHostWhileLoopCond()
[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/compiler/tf2xla/
Dfunctionalize_control_flow.cc208 fld->ReplaceFunction(new_func_name, functionalized_fdef)); in FunctionalizeControlFlowForFunction()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc774 TF_RETURN_IF_ERROR(flib.ReplaceFunction(func_name, optimized_func)); in Optimize()
892 TF_RETURN_IF_ERROR(flib->ReplaceFunction(func_name, fdef)); in OptimizeGraph()
/external/tensorflow/tensorflow/core/framework/
Dfunction.h375 Status ReplaceFunction(const string& func, const FunctionDef& fdef)
Dfunction.cc1399 Status FunctionLibraryDefinition::ReplaceFunction(const string& func, in ReplaceFunction() function in tensorflow::FunctionLibraryDefinition
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc749 TF_RETURN_IF_ERROR((*optimized_flib)->ReplaceFunction(func_name, fdef)); in OptimizeGraph()