Searched refs:ReplaceFunction (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_types_downgrader.py | 32 def ReplaceFunction(match_object): function 48 tmp_contents = _REGEXP_PATTERN.sub(ReplaceFunction, src_mojo_file.read())
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | extract_outside_compilation_pass.cc | 639 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 …]
|
D | encapsulate_subgraphs_pass.cc | 639 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/ |
D | functionalize_control_flow.cc | 208 fld->ReplaceFunction(new_func_name, functionalized_fdef)); in FunctionalizeControlFlowForFunction()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | meta_optimizer.cc | 774 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/ |
D | function.h | 375 Status ReplaceFunction(const string& func, const FunctionDef& fdef)
|
D | function.cc | 1399 Status FunctionLibraryDefinition::ReplaceFunction(const string& func, in ReplaceFunction() function in tensorflow::FunctionLibraryDefinition
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_execution_state.cc | 749 TF_RETURN_IF_ERROR((*optimized_flib)->ReplaceFunction(func_name, fdef)); in OptimizeGraph()
|