Searched refs:ReplaceFunction (Results 1 – 11 of 11) 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 | 1318 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 …]
|
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/core/grappler/optimizers/data/ |
D | meta_optimizer.cc | 150 flib.ReplaceFunction(func->signature().name(), optimized_func)); in Optimize()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_control_flow.cc | 263 fld->ReplaceFunction(new_func_name, functionalized_fdef)); in FunctionalizeControlFlowForFunction()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | meta_optimizer.cc | 896 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/ |
D | encapsulate_tpu_computations_pass.cc | 1897 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()
|
D | distributed_tpu_rewrite_pass.cc | 632 TF_RETURN_IF_ERROR(flib_def->ReplaceFunction(function_name, graph_fdef)); in UpdateFunctionLibDefinition()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function.h | 425 Status ReplaceFunction(const std::string& func, const FunctionDef& fdef)
|
D | function.cc | 1427 Status FunctionLibraryDefinition::ReplaceFunction(const string& func, in ReplaceFunction() function in tensorflow::FunctionLibraryDefinition
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_execution_state.cc | 820 TF_RETURN_IF_ERROR((*optimized_flib)->ReplaceFunction(func_name, fdef)); in OptimizeGraph()
|