Home
last modified time | relevance | path

Searched refs:function_body (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions_test.cc136 EXPECT_EQ(5, item.function_body().node_size()); in TEST_F()
145 for (const NodeDef &node : item.function_body().node()) { in TEST_F()
217 EXPECT_EQ(14, item.function_body().node_size()); in TEST_F()
229 for (const NodeDef &node : item.function_body().node()) { in TEST_F()
312 for (const NodeDef &node : item.function_body().node()) { in TEST_F()
380 for (const NodeDef &node : item.function_body().node()) { in TEST_F()
431 EXPECT_EQ(3, item.function_body().node_size()); in TEST_F()
433 const NodeDef &two = item.function_body().node(0); in TEST_F()
437 const NodeDef &cast = item.function_body().node(1); in TEST_F()
442 const NodeDef &retval = item.function_body().node(2); in TEST_F()
[all …]
Dfunctions.cc45 const bool is_stateful, GraphDef&& function_body) in GrapplerFunctionItem() argument
54 graph = std::move(function_body); in GrapplerFunctionItem()
118 const GraphDef& GrapplerFunctionItem::function_body() const { return graph; } in function_body() function in tensorflow::grappler::GrapplerFunctionItem
246 GraphDef function_body; in MakeGrapplerFunctionItem() local
247 fbody->graph->ToGraphDef(&function_body); in MakeGrapplerFunctionItem()
251 *function_body.mutable_library() = flib.ReachableDefinitions(func).ToProto(); in MakeGrapplerFunctionItem()
256 flib.num_functions() - function_body.library().function_size(), in MakeGrapplerFunctionItem()
257 signature.name(), function_body.library().function_size()); in MakeGrapplerFunctionItem()
298 graph_def_version, signature.is_stateful(), std::move(function_body)); in MakeGrapplerFunctionItem()
452 for (const NodeDef& node : item.function_body().node()) { in Initialize()
[all …]
Dfunctions.h80 const GraphDef& function_body() const;
104 GraphDef&& function_body);
/external/python/pycparser/examples/
Dexplore_ast.py110 function_body = ast.ext[2].body variable
123 for_stmt = function_body.block_items[2]
/external/toolchain-utils/afdo_redaction/
Dremove_cold_functions.py67 function_count=count, function_body=body, function_name=name))
76 function_count=count, function_body=body, function_name=name))
82 print('\n'.join(r.function_body), file=stream)
Dredact_profile_test.py43 function_body = [
62 lines.extend(function_body)
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime.cc159 std::unique_ptr<FunctionBody> function_body; in ConstructFunctionGraph() local
161 &function_body)); in ConstructFunctionGraph()
163 function_body.get(), inline_options)); in ConstructFunctionGraph()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp136 Stmt *function_body = function_decl->getBody(); in SynthesizeFunctionResult() local
137 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(function_body); in SynthesizeFunctionResult()
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc452 const FunctionBody& function_body, in LiftedArgsAndOutsideCompilationNodesInFunctionBody() argument
456 for (Node* n : function_body.graph->op_nodes()) { in LiftedArgsAndOutsideCompilationNodesInFunctionBody()
514 const FunctionBody& function_body, const int arg_idx, in AddOutsideCompilationInputArgToFunctionBody() argument
523 Node* arg_node = function_body.graph->AddNode(arg_def, &s); in AddOutsideCompilationInputArgToFunctionBody()
530 Status AddMatchingRetvalNode(const FunctionBody& function_body, in AddMatchingRetvalNode() argument
540 Node* ret_node = function_body.graph->AddNode(ret_def, &s); in AddMatchingRetvalNode()
542 function_body.graph->AddEdge(arg_node, 0, ret_node, 0); in AddMatchingRetvalNode()
548 const FunctionBody& function_body, const int original_arg_count, in ReplaceLiftedArgNodePlaceholderWithArg() argument
560 function_body.graph->AddControlEdge(arg_node, e->dst()); in ReplaceLiftedArgNodePlaceholderWithArg()
562 function_body.graph->AddEdge(arg_node, 0, e->dst(), e->dst_input()); in ReplaceLiftedArgNodePlaceholderWithArg()
[all …]
/external/mksh/src/
Dsyn.c55 static struct op *function_body(char *, int, bool);
381 t = function_body(XPptrv(args)[0], in get_command()
502 t = function_body(yylval.cp, sALIAS, true); in get_command()
685 function_body(char *name, int sALIAS, in function_body() function
/external/tensorflow/tensorflow/core/common_runtime/
DBUILD160 "function_body.h",
421 ":function_body",
638 ":function_body",
669 name = "function_body",
670 srcs = ["function_body.cc"],
671 hdrs = ["function_body.h"],
699 ":function_body",
713 ":function_body",
864 ":function_body",
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py231 class function_body(object): class
302 func_dict[prefix][func] = function_body(scrubbed_body, scrubbed_extra, args_and_sig, attrs)
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_builtins_test.cpp307 std::string function_body = R"( in GetInFunctionCodeGenerator() local
315 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
3275 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
3284 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
3337 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
3346 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp307 std::string function_body = R"( in GetInFunctionCodeGenerator() local
315 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
3275 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
3284 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
3337 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
3346 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_builtins_test.cpp307 std::string function_body = R"( in GetInFunctionCodeGenerator() local
315 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
3275 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
3284 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
3337 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
3346 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()