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.cc44 const bool is_stateful, GraphDef&& function_body) in GrapplerFunctionItem() argument
52 graph = std::move(function_body); in GrapplerFunctionItem()
111 const GraphDef& GrapplerFunctionItem::function_body() const { return graph; } in function_body() function in tensorflow::grappler::GrapplerFunctionItem
239 GraphDef function_body; in MakeGrapplerFunctionItem() local
240 fbody->graph->ToGraphDef(&function_body); in MakeGrapplerFunctionItem()
244 *function_body.mutable_library() = flib.ReachableDefinitions(func).ToProto(); in MakeGrapplerFunctionItem()
249 flib.num_functions() - function_body.library().function_size(), in MakeGrapplerFunctionItem()
250 signature.name(), function_body.library().function_size()); in MakeGrapplerFunctionItem()
286 signature.is_stateful(), std::move(function_body)); in MakeGrapplerFunctionItem()
437 for (const NodeDef& node : item.function_body().node()) { in Initialize()
[all …]
Dfunctions.h79 const GraphDef& function_body() const;
102 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/
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/swiftshader/third_party/llvm-7.0/llvm/utils/UpdateTestChecks/
Dcommon.py92 class function_body(object): class
131 func_dict[prefix][func] = function_body(scrubbed_body, scrubbed_extra)
/external/v8/src/compiler/
Dpipeline.h58 wasm::FunctionBody function_body, const wasm::WasmModule* module,
Dpipeline.cc985 wasm::WasmEngine* wasm_engine, wasm::FunctionBody function_body, in CreatePipelineStatistics() argument
1006 wasm::PrintRawWasmCode(&allocator, function_body, wasm_module, in CreatePipelineStatistics()
3118 wasm::FunctionBody function_body, const wasm::WasmModule* module, in GenerateCodeForWasmFunction() argument
3122 CreatePipelineStatistics(wasm_engine, function_body, module, info, in GenerateCodeForWasmFunction()
/external/angle/third_party/spirv-tools/src/test/val/
Dval_builtins_test.cpp295 std::string function_body = R"( in GetInFunctionCodeGenerator() local
304 generator.after_types_ += function_body; in GetInFunctionCodeGenerator()
306 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
2782 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
2792 generator.after_types_ += function_body; in GetNoDepthReplacingGenerator()
2794 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
2859 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
2869 generator.after_types_ += function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
2871 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp295 std::string function_body = R"( in GetInFunctionCodeGenerator() local
304 generator.after_types_ += function_body; in GetInFunctionCodeGenerator()
306 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
2782 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
2792 generator.after_types_ += function_body; in GetNoDepthReplacingGenerator()
2794 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
2859 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
2869 generator.after_types_ += function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
2871 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_builtins_test.cpp295 std::string function_body = R"( in GetInFunctionCodeGenerator() local
304 generator.after_types_ += function_body; in GetInFunctionCodeGenerator()
306 generator.add_at_the_end_ = function_body; in GetInFunctionCodeGenerator()
2782 const std::string function_body = R"( in GetNoDepthReplacingGenerator() local
2792 generator.after_types_ += function_body; in GetNoDepthReplacingGenerator()
2794 generator.add_at_the_end_ = function_body; in GetNoDepthReplacingGenerator()
2859 const std::string function_body = R"( in GetOneMainHasDepthReplacingOtherHasntGenerator() local
2869 generator.after_types_ += function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
2871 generator.add_at_the_end_ = function_body; in GetOneMainHasDepthReplacingOtherHasntGenerator()
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc450 const FunctionBody& function_body, in LiftedArgsAndOutsideCompilationNodesInFunctionBody() argument
454 for (Node* n : function_body.graph->op_nodes()) { in LiftedArgsAndOutsideCompilationNodesInFunctionBody()
512 const FunctionBody& function_body, const int arg_idx, in AddOutsideCompilationInputArgToFunctionBody() argument
521 Node* arg_node = function_body.graph->AddNode(arg_def, &s); in AddOutsideCompilationInputArgToFunctionBody()
528 Status AddMatchingRetvalNode(const FunctionBody& function_body, in AddMatchingRetvalNode() argument
538 Node* ret_node = function_body.graph->AddNode(ret_def, &s); in AddMatchingRetvalNode()
540 function_body.graph->AddEdge(arg_node, 0, ret_node, 0); in AddMatchingRetvalNode()
546 const FunctionBody& function_body, const int original_arg_count, in ReplaceLiftedArgNodePlaceholderWithArg() argument
558 function_body.graph->AddControlEdge(arg_node, e->dst()); in ReplaceLiftedArgNodePlaceholderWithArg()
560 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()
508 t = function_body(yylval.cp, sALIAS, true); in get_command()
691 function_body(char *name, int sALIAS, in function_body() function
/external/v8/src/wasm/
Dfunction-compiler.cc247 FunctionBody function_body{function->sig, function->code.offset(), in CompileWasmFunction() local