Home
last modified time | relevance | path

Searched refs:name_attr (Results 1 – 25 of 32) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/common/
Dsubgraph.h42 auto name_attr = op->getAttrOfType<StringAttr>(kInterfaceNameAttr); in GetInterFaceName() local
43 if (!name_attr) return llvm::None; in GetInterFaceName()
44 return name_attr.getValue().str(); in GetInterFaceName()
/external/tensorflow/tensorflow/core/ir/importexport/
Dgraphdef_export.cc472 auto name_attr = in GetValueName() local
474 if (!name_attr) { in GetValueName()
479 name.reserve(name_attr.size() + 1); in GetValueName()
481 name.append(name_attr.data(), name_attr.size()); in GetValueName()
486 auto name_attr = result.getOwner()->getAttrOfType<StringAttr>( in GetValueName() local
488 if (!name_attr) in GetValueName()
492 name.reserve(1 + name_attr.size()); in GetValueName()
494 name.append(name_attr.data(), name_attr.size()); in GetValueName()
499 name.reserve(name_attr.size() + 3); in GetValueName()
500 name.append(name_attr.data(), name_attr.size()); in GetValueName()
[all …]
Dgraphdef_import.cc359 for (const auto &name_attr : function.attr()) { in ConvertFunctionAttributes() local
360 if (name_attr.first.empty()) { in ConvertFunctionAttributes()
367 ConvertAttributeValue(name_attr.second, b_)); in ConvertFunctionAttributes()
368 attrs.append(absl::StrCat("tf.", name_attr.first), attr); in ConvertFunctionAttributes()
566 for (const auto &name_attr : attr_it->second.attr()) { in ConvertFunctionDef() local
568 ConvertAttributeValue(name_attr.second, b_)); in ConvertFunctionDef()
569 attrs.append("tf." + name_attr.first, attr); in ConvertFunctionDef()
792 for (auto &name_attr : node.attr()) { in ConvertNodeDef() local
793 if (name_attr.first.empty()) in ConvertNodeDef()
796 ConvertAttributeValue(name_attr.second, b_)); in ConvertNodeDef()
[all …]
Dfunctiondef_export.cc86 auto name_attr = in GetValueName() local
88 if (!name_attr) in GetValueName()
93 absl::StrAppend(&name, name_attr.getValue().str()); in GetValueName()
Dfunctiondef_import.cc163 StringAttr name_attr = tfgDialect->getNameAttrIdentifier(); in ImportNodes() local
192 state.addAttribute(name_attr, StringAttr::get(context, node.name())); in ImportNodes()
214 op.getAttrOfType<StringAttr>(name_attr).getValue().str())); in ImportNodes()
/external/pigweed/pw_cli/py/pw_cli/
Dlog.py199 name_attr = 'emoji'
202 name_attr = 'ascii'
206 name = getattr(log_level, name_attr)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dif_op.cc32 const NameAttrList* name_attr; in XlaIfOp() local
33 OP_REQUIRES_OK(ctx, ctx->GetAttr("then_branch", &name_attr)); in XlaIfOp()
34 then_branch_ = *name_attr; in XlaIfOp()
35 OP_REQUIRES_OK(ctx, ctx->GetAttr("else_branch", &name_attr)); in XlaIfOp()
36 else_branch_ = *name_attr; in XlaIfOp()
Dwhile_op.cc278 const NameAttrList* name_attr; in XlaWhileOp() local
279 OP_REQUIRES_OK(ctx, ctx->GetAttr("cond", &name_attr)); in XlaWhileOp()
280 cond_name_attr_ = *name_attr; in XlaWhileOp()
281 OP_REQUIRES_OK(ctx, ctx->GetAttr("body", &name_attr)); in XlaWhileOp()
282 body_name_attr_ = *name_attr; in XlaWhileOp()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dprinter.c1288 upb_handlers_set##name(h, f, scalar_##ctype, &name_attr); \ in printer_sethandlers()
1296 upb_handlerattr name_attr = UPB_HANDLERATTR_INIT; in printer_sethandlers() local
1297 name_attr.handler_data = newstrpc(h, f, preserve_fieldnames); in printer_sethandlers()
1300 upb_handlers_setstartseq(h, f, startmap, &name_attr); in printer_sethandlers()
1301 upb_handlers_setendseq(h, f, endmap, &name_attr); in printer_sethandlers()
1303 upb_handlers_setstartseq(h, f, startseq, &name_attr); in printer_sethandlers()
1336 upb_handlers_setstartstr(h, f, scalar_startstr, &name_attr); in printer_sethandlers()
1347 upb_handlers_setstring(h, f, scalar_bytes, &name_attr); in printer_sethandlers()
1352 upb_handlers_setstartsubmsg(h, f, repeated_startsubmsg, &name_attr); in printer_sethandlers()
1354 upb_handlers_setstartsubmsg(h, f, scalar_startsubmsg, &name_attr); in printer_sethandlers()
/external/cronet/third_party/icu/source/test/letest/
Dxmlreader.cpp161 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in readTestFile() local
206 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
Dgendata.cpp186 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in main() local
237 char *fontName = getCString(element->getAttribute(name_attr)); in main()
Dletest.cpp595 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in DataDrivenTest() local
641 char *fontName = getCString(element->getAttribute(name_attr)); in DataDrivenTest()
/external/icu/icu4c/source/test/letest/
Dxmlreader.cpp161 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in readTestFile() local
206 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
Dgendata.cpp186 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in main() local
237 char *fontName = getCString(element->getAttribute(name_attr)); in main()
Dletest.cpp595 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in DataDrivenTest() local
641 char *fontName = getCString(element->getAttribute(name_attr)); in DataDrivenTest()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp165 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in readTestFile() local
210 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
/external/cronet/third_party/icu/source/test/perf/leperf/
Dxmlreader.cpp165 UnicodeString name_attr = UNICODE_STRING_SIMPLE("name"); in readTestFile() local
210 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
/external/cronet/build/android/gyp/util/
Dmanifest_utils.py130 name_attr = '{%s}name' % ANDROID_NAMESPACE
133 return ('', '') if tup[0] == name_attr else tup
/external/angle/build/android/gyp/util/
Dmanifest_utils.py130 name_attr = '{%s}name' % ANDROID_NAMESPACE
133 return ('', '') if tup[0] == name_attr else tup
/external/tensorflow/tensorflow/compiler/jit/
Dcompilability_check_util.cc85 const NameAttrList* name_attr; in MakeCallNodeFromAttribute() local
86 TF_RETURN_IF_ERROR(GetNodeAttr(node.attrs(), attr_name, &name_attr)); in MakeCallNodeFromAttribute()
87 node_def->set_op(name_attr->name()); in MakeCallNodeFromAttribute()
88 *(node_def->mutable_attr()) = name_attr->attr(); in MakeCallNodeFromAttribute()
/external/libcups/scheduler/
Dcups-lpd.c488 *name_attr, /* printer-name */ in get_printer() local
547 name_attr = NULL; in get_printer()
561 name_attr = attr; in get_printer()
572 if (info_attr && name_attr && in get_printer()
579 strlcpy(dest, name_attr->values[0].string.text, destsize); in get_printer()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler_test.cc936 NameAttrList name_attr; in TEST_F() local
937 name_attr.set_name("Function_NotDefined_"); in TEST_F()
939 compiler.CompileFunction(XlaCompiler::CompileOptions(), name_attr, in TEST_F()
1013 NameAttrList name_attr; in TEST_F() local
1014 name_attr.set_name("XTimesTwo"); in TEST_F()
1016 compiler.CompileFunction(XlaCompiler::CompileOptions(), name_attr, in TEST_F()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc505 PyObject* name_attr = PyObject_GetAttrString(py_value.get(), "name"); in SetOpAttrList() local
506 if (name_attr == nullptr || in SetOpAttrList()
507 !ParseStringValue(key, name_attr, status, &func_name)) { in SetOpAttrList()
715 PyObject* name_attr = PyObject_GetAttrString(py_value, "name"); in SetOpAttrScalar() local
716 if (name_attr == nullptr || in SetOpAttrScalar()
717 !ParseStringValue(key, name_attr, status, &func_name)) { in SetOpAttrScalar()
/external/tensorflow/tensorflow/core/ir/
Dops.cc544 StringAttr name_attr; in parse() local
545 if (parser.parseSymbolName(name_attr, SymbolTable::getSymbolAttrName(), in parse()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc1811 if (auto name_attr = exported_name[0].dyn_cast_or_null<StringAttr>()) in BuildSignaturedef() local
1812 result[0].signature_key = name_attr.getValue().str(); in BuildSignaturedef()

12