Home
last modified time | relevance | path

Searched refs:OpRegistry (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/core/framework/
Dop.cc52 OpRegistry::OpRegistry() in OpRegistry() function in tensorflow::OpRegistry
55 OpRegistry::~OpRegistry() { in ~OpRegistry()
59 void OpRegistry::Register(const OpRegistrationDataFactory& op_data_factory) { in Register()
84 Status OpRegistry::LookUp(const string& op_type_name, in LookUp()
90 const OpRegistrationData* OpRegistry::LookUp(const string& op_type_name) const { in LookUp()
103 const OpRegistrationData* OpRegistry::LookUpSlow( in LookUpSlow()
139 void OpRegistry::GetRegisteredOps(std::vector<OpDef>* op_defs) { in GetRegisteredOps()
147 void OpRegistry::GetOpRegistrationData( in GetOpRegistrationData()
156 Status OpRegistry::SetWatcher(const Watcher& watcher) { in SetWatcher()
166 void OpRegistry::Export(bool include_internal, OpList* ops) const { in Export()
[all …]
Dload_library.cc58 Status s = OpRegistry::Global()->ProcessRegistrations(); in LoadDynamicLibrary()
62 TF_RETURN_IF_ERROR(OpRegistry::Global()->SetWatcher( in LoadDynamicLibrary()
78 OpRegistry::Global()->DeferRegistrations(); in LoadDynamicLibrary()
81 s = OpRegistry::Global()->ProcessRegistrations(); in LoadDynamicLibrary()
84 OpRegistry::Global()->ClearDeferredRegistrations(); in LoadDynamicLibrary()
85 TF_RETURN_IF_ERROR(OpRegistry::Global()->SetWatcher(nullptr)); in LoadDynamicLibrary()
88 TF_RETURN_IF_ERROR(OpRegistry::Global()->SetWatcher(nullptr)); in LoadDynamicLibrary()
Dop_registration_test.cc27 void Register(const string& op_name, OpRegistry* registry) { in Register()
37 std::unique_ptr<OpRegistry> registry(new OpRegistry); in TEST()
46 std::unique_ptr<OpRegistry> registry(new OpRegistry); in TEST()
Dfunction_test.cc56 return OpRegistry::Global()->LookUpOpDef(op, sig); in GetOpSig()
973 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
981 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
992 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
1011 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
1036 FunctionLibraryDefinition lib_def(OpRegistry::Global(), FunctionDefLibrary()); in TEST()
1058 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
1072 FunctionLibraryDefinition lib_def(OpRegistry::Global(), {}); in TEST()
1085 FunctionLibraryDefinition lib_def(OpRegistry::Global(), proto); in TEST()
1099 FunctionLibraryDefinition lib_def2(OpRegistry::Global(), proto); in TEST()
[all …]
Dop.h66 class OpRegistry : public OpRegistryInterface {
70 OpRegistry();
71 ~OpRegistry() override;
91 static OpRegistry* Global();
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dtftext_utils_test.cc27 using tensorflow::OpRegistry;
32 void Register(const std::string& op_name, OpRegistry* registry) { in Register()
42 std::unique_ptr<OpRegistry> registry(new OpRegistry); in TEST()
48 std::unique_ptr<OpRegistry> registry(new OpRegistry); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dplacer_test.cc406 Graph g(OpRegistry::Global()); in TEST_F()
425 Graph g(OpRegistry::Global()); in TEST_F()
445 Graph g(OpRegistry::Global()); in TEST_F()
468 Graph g(OpRegistry::Global()); in TEST_F()
485 Graph g(OpRegistry::Global()); in TEST_F()
548 Graph g(OpRegistry::Global()); in TEST_F()
563 Graph g(OpRegistry::Global()); in TEST_F()
578 Graph g(OpRegistry::Global()); in TEST_F()
593 Graph g(OpRegistry::Global()); in TEST_F()
608 Graph g(OpRegistry::Global()); in TEST_F()
[all …]
Dshape_refiner_test.cc84 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TestStridedSlice()
129 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
136 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
153 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
170 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
215 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
233 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
250 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
266 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
302 ShapeRefiner m(TF_GRAPH_DEF_VERSION, OpRegistry::Global()); in TEST_F()
[all …]
Dmemory_types_test.cc26 Graph* g = new Graph(OpRegistry::Global()); in TEST()
41 Graph* g = new Graph(OpRegistry::Global()); in TEST()
60 Graph* g = new Graph(OpRegistry::Global()); in TEST()
Dreplicate_per_replica_nodes_test.cc93 Graph graph(OpRegistry::Global()); in TEST()
138 Graph graph(OpRegistry::Global()); in TEST()
180 Graph graph(OpRegistry::Global()); in TEST()
230 FunctionLibraryDefinition flib_def(OpRegistry::Global(), fdef_lib); in TEST()
236 Graph graph(OpRegistry::Global()); in TEST()
260 Graph graph(OpRegistry::Global()); in TEST()
307 Graph graph(OpRegistry::Global()); in TEST()
Dexecutor_test.cc159 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
187 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
244 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
277 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
296 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
315 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
334 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
386 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
411 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
427 auto g = absl::make_unique<Graph>(OpRegistry::Global()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dvalidate_test.cc47 TF_ASSERT_OK(graph::ValidateGraphDef(graph_def, *OpRegistry::Global())); in TEST()
62 Status s = graph::ValidateGraphDef(graph_def, *OpRegistry::Global()); in TEST()
67 TF_ASSERT_OK(AddDefaultAttrsToGraphDef(&graph_def, *OpRegistry::Global(), 0)); in TEST()
70 TF_ASSERT_OK(graph::ValidateGraphDef(graph_def, *OpRegistry::Global())); in TEST()
85 Status s = graph::ValidateGraphDef(graph_def, *OpRegistry::Global()); in TEST()
90 TF_ASSERT_OK(AddDefaultAttrsToGraphDef(&graph_def, *OpRegistry::Global(), 0)); in TEST()
93 s = graph::ValidateGraphDef(graph_def, *OpRegistry::Global()); in TEST()
Dvalidate.h52 OpList* op_list, const OpRegistry& op_registry = *OpRegistry::Global());
/external/tensorflow/tensorflow/core/kernels/
Dtraining_ops_test.cc91 Graph* g = new Graph(OpRegistry::Global()); in SGD()
97 Graph* g = new Graph(OpRegistry::Global()); in SGD()
123 Graph* g = new Graph(OpRegistry::Global()); in Adagrad()
132 Graph* g = new Graph(OpRegistry::Global()); in Adagrad()
159 Graph* g = new Graph(OpRegistry::Global()); in SparseAdagrad()
168 Graph* g = new Graph(OpRegistry::Global()); in SparseAdagrad()
204 Graph* g = new Graph(OpRegistry::Global()); in Momentum()
213 Graph* g = new Graph(OpRegistry::Global()); in Momentum()
242 Graph* g = new Graph(OpRegistry::Global()); in Adam()
253 Graph* g = new Graph(OpRegistry::Global()); in Adam()
[all …]
Drandom_op_test.cc41 Graph* g = new Graph(OpRegistry::Global()); in RandomUniform()
48 Graph* g = new Graph(OpRegistry::Global()); in RandomNormal()
55 Graph* g = new Graph(OpRegistry::Global()); in TruncatedNormal()
94 Graph* g = new Graph(OpRegistry::Global()); in BM_cpu_RandomGamma()
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass_test.cc94 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
119 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
139 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
160 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
179 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
211 FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib); in TEST()
252 FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib); in TEST()
289 FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib); in TEST()
380 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
435 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
[all …]
Drearrange_function_argument_pass_test.cc52 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
67 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
80 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
85 FunctionLibraryDefinition fld(OpRegistry::Global(), fdl); in TEST()
109 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
185 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
200 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
205 FunctionLibraryDefinition fld(OpRegistry::Global(), fdl); in TEST()
220 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
Dextract_outside_compilation_pass_test.cc52 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
128 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
154 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
178 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
204 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST()
277 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST_F()
289 FunctionLibraryDefinition fld(OpRegistry::Global(), fdl); in TEST_F()
401 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST_F()
407 FunctionLibraryDefinition fld(OpRegistry::Global(), fdl); in TEST_F()
437 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in TEST_F()
[all …]
Dpartially_decluster_pass_test.cc125 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
161 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
190 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
220 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
251 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
312 auto graph = absl::make_unique<Graph>(OpRegistry::Global()); in TEST()
340 std::unique_ptr<Graph> graph = absl::make_unique<Graph>(OpRegistry::Global()); in TEST()
365 std::unique_ptr<Graph> graph = absl::make_unique<Graph>(OpRegistry::Global()); in TEST()
389 std::unique_ptr<Graph> graph = absl::make_unique<Graph>(OpRegistry::Global()); in TEST()
413 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_test.cc47 OpRegistry::Global()->Export(false, &ops); in TEST()
121 OpRegistry::Global()->Export(false, &op_defs); in TEST()
183 OpRegistry::Global()->Export(false, &op_defs); in TEST()
242 OpRegistry::Global()->Export(false, &op_defs); in TEST()
303 OpRegistry::Global()->Export(false, &op_defs); in TEST()
362 OpRegistry::Global()->Export(false, &op_defs); in TEST()
419 OpRegistry::Global()->Export(false, &op_defs); in TEST()
468 OpRegistry::Global()->Export(false, &op_defs); in TEST()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment_test.cc128 Graph g(OpRegistry::Global()); in TEST_F()
152 Graph g(OpRegistry::Global()); in TEST_F()
205 Graph g(OpRegistry::Global()); in TEST_F()
213 Graph g(OpRegistry::Global()); in TEST_F()
229 Graph g(OpRegistry::Global()); in TEST_F()
240 Graph g(OpRegistry::Global()); in TEST_F()
263 Graph g(OpRegistry::Global()); in TEST_F()
295 Graph g(OpRegistry::Global()); in TEST_F()
343 Graph g(OpRegistry::Global()); in TEST_F()
361 Graph g(OpRegistry::Global()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc225 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST()
296 FunctionLibraryDefinition fld(OpRegistry::Global(), proto); in TEST()
340 FunctionLibraryDefinition fld(OpRegistry::Global(), {}); in TEST()
347 Graph graph(OpRegistry::Global()); in TEST()
365 Graph graph(OpRegistry::Global()); in TEST()
372 FunctionLibraryDefinition fld(OpRegistry::Global(), {}); in TEST()
380 Graph graph(OpRegistry::Global()); in TEST()
399 Graph graph(OpRegistry::Global()); in TEST()
425 FunctionLibraryDefinition fld(OpRegistry::Global(), {}); in TEST()
433 Graph graph(OpRegistry::Global()); in TEST()
[all …]
Dxla_compiler_test.cc68 flib_def_.reset(new FunctionLibraryDefinition(OpRegistry::Global(), flib)); in SetUp()
184 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
201 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
250 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
294 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
335 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
387 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
440 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
472 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
503 std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); in TEST_F()
[all …]
Dresource_util_test.cc85 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
120 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
160 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
203 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
252 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
315 FunctionLibraryDefinition flib_def(OpRegistry::Global(), in TEST()
392 FunctionLibraryDefinition flib_def(OpRegistry::Global(), *library); in TEST()
449 FunctionLibraryDefinition flib_def(OpRegistry::Global(), *library); in TEST()
499 FunctionLibraryDefinition flib_def(OpRegistry::Global(), *library); in TEST()
/external/tensorflow/tensorflow/core/ops/
Dshape_function_test.cc25 OpRegistry* op_registry = OpRegistry::Global(); in TEST()

12345678910>>...12