Home
last modified time | relevance | path

Searched refs:kernel_def (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dkernel_def_util.cc36 Status KernelAttrsMatch(const KernelDef& kernel_def, AttrSlice attrs, in KernelAttrsMatch() argument
39 for (const auto& constraint : kernel_def.constraint()) { in KernelAttrsMatch()
42 "KernelDef '", ProtoShortDebugString(kernel_def), in KernelAttrsMatch()
57 "KernelDef '", ProtoShortDebugString(kernel_def), in KernelAttrsMatch()
74 "OpKernel '", kernel_def.op(), "' has constraint on attr '", in KernelAttrsMatch()
76 "', KernelDef: '", ProtoShortDebugString(kernel_def), "'"); in KernelAttrsMatch()
Dop_kernel.cc1068 void OpKernelRegistrar::InitInternal(const KernelDef* kernel_def, in InitInternal() argument
1072 if (kernel_def->op() != "_no_register") { in InitInternal()
1074 Key(kernel_def->op(), DeviceType(kernel_def->device_type()), in InitInternal()
1075 kernel_def->label()); in InitInternal()
1085 ->emplace(key, KernelRegistration(*kernel_def, kernel_class_name, in InitInternal()
1088 delete kernel_def; in InitInternal()
1209 for (const auto& kernel_def : kernel_list.kernel()) { in LogAllRegisteredKernels() local
1210 LOG(INFO) << "OpKernel ('" << ProtoShortDebugString(kernel_def) << "')"; in LogAllRegisteredKernels()
1224 const KernelDef& kernel_def = p.second.def; in GetFilteredRegisteredKernels() local
1225 if (predicate(kernel_def)) { in GetFilteredRegisteredKernels()
[all …]
Dkernel_def_util_test.cc34 KernelDef kernel_def; in KernelDefFromText() local
35 EXPECT_TRUE(protobuf::TextFormat::MergeFromString(text, &kernel_def)); in KernelDefFromText()
36 return kernel_def; in KernelDefFromText()
Dkernel_def_util.h26 Status KernelAttrsMatch(const KernelDef& kernel_def, AttrSlice attrs,
Dop_kernel.h1454 OpKernelRegistrar(const KernelDef* kernel_def, StringPiece kernel_class_name, in OpKernelRegistrar() argument
1458 if (kernel_def != nullptr) { in OpKernelRegistrar()
1459 InitInternal(kernel_def, kernel_class_name, std::move(factory)); in OpKernelRegistrar()
1465 OpKernelRegistrar(const KernelDef* kernel_def, StringPiece kernel_class_name, in OpKernelRegistrar() argument
1469 if (kernel_def != nullptr) { in OpKernelRegistrar()
1470 InitInternal(kernel_def, kernel_class_name, in OpKernelRegistrar()
1485 void InitInternal(const KernelDef* kernel_def, StringPiece kernel_class_name,
Dop_kernel_test.cc504 const KernelDef* kernel_def = nullptr; local
507 FindKernelDef(device_type, def, &kernel_def, &kernel_class_name);
/external/tensorflow/tensorflow/contrib/makefile/
Dtf_pb_text_files.txt11 tensorflow/core/framework/kernel_def.pb_text.cc
Dtf_proto_files.txt15 tensorflow/core/framework/kernel_def.proto
Dproto_text_pb_cc_files.txt11 tensorflow/core/framework/kernel_def.pb.cc
Dproto_text_pb_h_files.txt11 tensorflow/core/framework/kernel_def.pb.h
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_core_framework.cmake150 "tensorflow/core/framework/kernel_def.proto"
/external/tensorflow/tensorflow/core/
DBUILD198 "framework/kernel_def.proto",
2110 proto_srcfile = "framework/kernel_def.proto",