Home
last modified time | relevance | path

Searched refs:FunctionLibraryDefinition (Results 1 – 25 of 132) sorted by relevance

123456

/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow.h31 FunctionLibraryDefinition* library);
32 Status FunctionalizeControlFlow(const FunctionLibraryDefinition* lookup_library,
34 FunctionLibraryDefinition* library);
37 FunctionLibraryDefinition* library);
39 const FunctionLibraryDefinition* lookup_library, GraphDef* graph_def,
40 FunctionLibraryDefinition* library);
Dfunctionalize_control_flow.cc49 Status FunctionalizeControlFlow(const FunctionLibraryDefinition* lookup_library, in FunctionalizeControlFlow()
51 FunctionLibraryDefinition* library) { in FunctionalizeControlFlow()
72 FunctionLibraryDefinition* library) { in FunctionalizeControlFlow()
77 FunctionLibraryDefinition* library) { in FunctionalizeControlFlowForGraphDef()
83 const FunctionLibraryDefinition* lookup_library, GraphDef* graph_def, in FunctionalizeControlFlowForGraphDef()
84 FunctionLibraryDefinition* library) { in FunctionalizeControlFlowForGraphDef()
98 FunctionLibraryDefinition* fld, FunctionLibraryRuntime* flr, in FunctionalizeControlFlowForFunction()
Dtf2xla_util.h124 const FunctionLibraryDefinition* fld);
132 const Node& node, const FunctionLibraryDefinition* fld);
141 Graph* graph, Node* node, FunctionLibraryDefinition* fld,
197 Graph* g, const FunctionLibraryDefinition* lookup_fld,
198 FunctionLibraryDefinition* fld);
Dtf2xla_util.cc83 const FunctionLibraryDefinition* lookup_fld, in CopyAssociatedFunctions()
84 FunctionLibraryDefinition* fld) { in CopyAssociatedFunctions()
177 const FunctionLibraryDefinition* lookup_fld, in PropagateConstIntoFuncAttr()
178 FunctionLibraryDefinition* fld) { in PropagateConstIntoFuncAttr()
223 const FunctionLibraryDefinition* lookup_fld, in PropagateConstIntoIfNode()
224 FunctionLibraryDefinition* fld) { in PropagateConstIntoIfNode()
253 const FunctionLibraryDefinition* lookup_fld, in PropagateConstIntoWhileNode()
254 FunctionLibraryDefinition* fld) { in PropagateConstIntoWhileNode()
566 const FunctionLibraryDefinition* fld) { in HasAssociatedFunction()
571 if (node_def.op() == FunctionLibraryDefinition::kGradientOp) { in HasAssociatedFunction()
[all …]
Dfunctionalize_cond.h30 Status FunctionalizeCond(Graph* graph, FunctionLibraryDefinition* library);
179 static Status Functionalize(Graph* graph, FunctionLibraryDefinition* library);
200 FunctionalizeCond(Graph* graph, FunctionLibraryDefinition* library);
265 FunctionLibraryDefinition* library_;
Dfunctionalize_while.h27 Status FunctionalizeWhileLoop(const FunctionLibraryDefinition* lookup_library,
28 Graph* graph, FunctionLibraryDefinition* library);
Dfunctionalize_while.cc245 const FunctionLibraryDefinition* lookup_library, in AddMissingFunctionByName()
246 FunctionLibraryDefinition* library) { in AddMissingFunctionByName()
256 const FunctionLibraryDefinition* lookup_library, in AddMissingFunctionDef()
257 FunctionLibraryDefinition* library) { in AddMissingFunctionDef()
265 if (node.op() == FunctionLibraryDefinition::kGradientOp) { in AddMissingFunctionDef()
267 AttrSlice(&node.attr()).Find(FunctionLibraryDefinition::kFuncAttr); in AddMissingFunctionDef()
292 Status FunctionalizeLoop(const FunctionLibraryDefinition* lookup_library, in FunctionalizeLoop()
294 FunctionLibraryDefinition* library) { in FunctionalizeLoop()
593 Status FunctionalizeWhileLoop(const FunctionLibraryDefinition* lookup_library, in FunctionalizeWhileLoop()
595 FunctionLibraryDefinition* library) { in FunctionalizeWhileLoop()
/external/tensorflow/tensorflow/core/framework/
Dfunction.cc176 gnode->set_op(FunctionLibraryDefinition::kDeviceArgOp); in BuildInputArgIndex()
178 gnode->set_op(FunctionLibraryDefinition::kArgOp); in BuildInputArgIndex()
341 gnode->set_op(FunctionLibraryDefinition::kDeviceRetOp); in AddReturnNode()
343 gnode->set_op(FunctionLibraryDefinition::kRetOp); in AddReturnNode()
587 if (n->op() == FunctionLibraryDefinition::kArgOp || in Print()
588 n->op() == FunctionLibraryDefinition::kDeviceArgOp) { in Print()
590 } else if (n->op() == FunctionLibraryDefinition::kRetOp || in Print()
591 n->op() == FunctionLibraryDefinition::kDeviceRetOp) { in Print()
691 fdef.attr().count(FunctionLibraryDefinition::kIntsOnDeviceAttr) != 0 && in InstantiateFunction()
692 fdef.attr().at(FunctionLibraryDefinition::kIntsOnDeviceAttr).b(); in InstantiateFunction()
[all …]
Dfunction.h312 class FunctionLibraryDefinition : public OpRegistryInterface {
315 FunctionLibraryDefinition(const FunctionLibraryDefinition& lib_def);
316 FunctionLibraryDefinition(const OpRegistryInterface* default_registry,
318 ~FunctionLibraryDefinition() override;
320 FunctionLibraryDefinition& operator=(const FunctionLibraryDefinition&) =
369 Status AddLibrary(const FunctionLibraryDefinition& other) LOCKS_EXCLUDED(mu_);
439 FunctionLibraryDefinition ReachableDefinitions(const GraphDef& graph) const;
440 FunctionLibraryDefinition ReachableDefinitions(const FunctionDef& func) const;
545 const FunctionLibraryDefinition* overlay_lib = nullptr;
577 FunctionLibraryDefinition*, const DeviceSet&,
[all …]
Dfunction_test.cc550 (*fdef.mutable_attr())[FunctionLibraryDefinition::kIntsOnDeviceAttr].set_b( in TEST()
972 FunctionLibraryDefinition lib_def(OpRegistry::Global(), proto); in TEST()
992 FunctionLibraryDefinition lib_def(OpRegistry::Global(), proto); in TEST()
1013 FunctionLibraryDefinition lib_def(OpRegistry::Global(), proto); in TEST()
1048 FunctionLibraryDefinition lib_def(OpRegistry::Global(), FunctionDefLibrary()); in TEST()
1073 FunctionLibraryDefinition lib_def(OpRegistry::Global(), proto); in TEST()
1087 FunctionLibraryDefinition lib_def2(OpRegistry::Global(), proto); in TEST()
1098 FunctionLibraryDefinition lib_def3(OpRegistry::Global(), proto); in TEST()
1110 FunctionLibraryDefinition lib_def4(OpRegistry::Global(), proto); in TEST()
1133 FunctionLibraryDefinition lib_def(OpRegistry::Global(), FunctionDefLibrary()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils_test.cc116 FunctionLibraryDefinition flib_0(OpRegistry::Global(), fdef_base); in TEST()
119 FunctionLibraryDefinition flib_1(OpRegistry::Global(), fdef_base); in TEST()
120 FunctionLibraryDefinition flib_to_add(OpRegistry::Global(), fdef_to_add); in TEST()
150 FunctionLibraryDefinition flib_0(OpRegistry::Global(), fdef_base); in TEST()
158 FunctionLibraryDefinition flib_1(OpRegistry::Global(), fdef_base); in TEST()
159 FunctionLibraryDefinition flib_to_add(OpRegistry::Global(), fdef_to_add); in TEST()
Ddataset_utils.h104 Status AddToFunctionLibrary(FunctionLibraryDefinition* base,
105 const FunctionLibraryDefinition& to_add);
106 Status AddToFunctionLibrary(FunctionLibraryDefinition* base,
/external/tensorflow/tensorflow/core/kernels/
Dfunction_ops.h24 static const char* const kArgOp = FunctionLibraryDefinition::kArgOp;
25 static const char* const kDeviceArgOp = FunctionLibraryDefinition::kDeviceArgOp;
26 static const char* const kRetOp = FunctionLibraryDefinition::kRetOp;
27 static const char* const kDeviceRetOp = FunctionLibraryDefinition::kDeviceRetOp;
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.h58 int graph_def_version, const FunctionLibraryDefinition* lib_def,
68 int graph_def_version, const FunctionLibraryDefinition* lib_def,
206 Status InlineFunctionBody(const FunctionLibraryDefinition& flib_def, Graph* g,
282 bool IsFunctionCall(const FunctionLibraryDefinition& lib_def, const Node& n);
288 const FunctionLibraryDefinition* const lib_def,
Dprocess_function_library_runtime.h36 const FunctionLibraryDefinition* lib_def,
44 const FunctionLibraryDefinition* lib_def,
183 const FunctionLibraryDefinition& overlay_lib) in MultiDeviceFunctionData()
197 FunctionLibraryDefinition overlay_lib_;
219 std::unique_ptr<FunctionLibraryDefinition>* out_lib_def,
274 const FunctionLibraryDefinition& lib_def, AttrSlice attrs,
292 const FunctionLibraryDefinition* lib_def_;
Dgraph_execution_state.h54 explicit ClientGraph(std::unique_ptr<FunctionLibraryDefinition> flib, in ClientGraph()
64 std::unique_ptr<FunctionLibraryDefinition> flib_def;
192 std::unique_ptr<FunctionLibraryDefinition>* optimized_flib);
205 std::unique_ptr<FunctionLibraryDefinition> flib_def_;
Dfunction.cc50 static constexpr const char* const kArgOp = FunctionLibraryDefinition::kArgOp;
52 FunctionLibraryDefinition::kDeviceArgOp;
53 static constexpr const char* const kRetOp = FunctionLibraryDefinition::kRetOp;
55 FunctionLibraryDefinition::kDeviceRetOp;
57 FunctionLibraryDefinition::kGradientOp;
60 FunctionLibraryDefinition::kFuncAttr;
170 const FunctionLibraryDefinition* overlay_lib_def) in FunctionLibraryRuntimeOverlay()
192 const FunctionLibraryDefinition* GetFunctionLibraryDefinition()
203 Status Clone(std::unique_ptr<FunctionLibraryDefinition>* out_lib_def,
209 const FunctionLibraryDefinition* overlay_lib_def_; // not owned
[all …]
Dlower_while_op.cc57 Graph* graph, const FunctionLibraryDefinition& flib) { in Run()
69 Graph* graph, const FunctionLibraryDefinition& flib);
133 const FunctionLibraryDefinition& flib_;
155 const FunctionLibraryDefinition& flib) in LowerWhileHelper()
377 const FunctionLibraryDefinition& lib) { in InlineCallInGraph()
415 const FunctionLibraryDefinition& flib) { in RewriteWhileNode()
Dlower_if_op.cc41 const string& else_fn_name, const FunctionLibraryDefinition& flib,
94 const FunctionLibraryDefinition& flib_;
104 const FunctionLibraryDefinition& flib, Graph* graph) in CondBuilder()
240 const FunctionLibraryDefinition& flib, Graph* g) { in InlineCallInGraph()
293 Status RewriteIfNode(Node* n, Graph* g, const FunctionLibraryDefinition& flib) { in RewriteIfNode()
Dpartitioning_utils.h74 FunctionNameGenerator(const FunctionLibraryDefinition* flib_def, in FunctionNameGenerator()
83 const FunctionLibraryDefinition* flib_def_;
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.h183 const FunctionLibraryDefinition&, int,
239 const GrapplerFunctionItem& item, const FunctionLibraryDefinition& flib,
262 const FunctionLibraryDefinition& flib,
272 const FunctionLibraryDefinition& flib,
279 const FunctionLibraryDefinition& flib,
Dfunctions_test.cc244 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
326 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
381 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
480 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
529 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
594 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
633 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
660 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
701 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
741 FunctionLibraryDefinition flib(OpRegistry::Global(), FunctionDefLibrary()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dadd_default_attributes.cc28 std::unique_ptr<FunctionLibraryDefinition> flib_def( in AddDefaultAttributes()
29 new FunctionLibraryDefinition(OpRegistry::Global(), in AddDefaultAttributes()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass_test.cc493 std::unique_ptr<FunctionLibraryDefinition> lib_def( in Encapsulate()
494 new FunctionLibraryDefinition(OpRegistry::Global(), *library)); in Encapsulate()
623 std::unique_ptr<FunctionLibraryDefinition> lib_def( in TEST()
624 new FunctionLibraryDefinition(OpRegistry::Global(), library_expected)); in TEST()
683 std::unique_ptr<FunctionLibraryDefinition> lib_def( in TEST()
684 new FunctionLibraryDefinition(OpRegistry::Global(), library_expected)); in TEST()
745 FunctionLibraryDefinition library(OpRegistry::Global(), {}); in TEST()
797 FunctionLibraryDefinition library(OpRegistry::Global(), {}); in TEST()
842 FunctionLibraryDefinition library(OpRegistry::Global(), {}); in TEST()
952 std::unique_ptr<FunctionLibraryDefinition> lib_def( in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/data/
Dstandalone.cc55 std::unique_ptr<FunctionLibraryDefinition> flib_def = in FromGraph()
56 MakeUnique<FunctionLibraryDefinition>(graph.flib_def()); in FromGraph()
113 FunctionLibraryDefinition* flib_def, thread::ThreadPool* pool) in Dataset()

123456