Home
last modified time | relevance | path

Searched refs:AttributeType (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc48 const std::map<std::string, AttributeType>* AttributeTypeNameMap() { in AttributeTypeNameMap()
49 static auto* type_map = new std::map<std::string, AttributeType>( in AttributeTypeNameMap()
50 {{"any", AttributeType::ANY}, in AttributeTypeNameMap()
51 {"float", AttributeType::FLOAT}, in AttributeTypeNameMap()
52 {"int", AttributeType::INT}, in AttributeTypeNameMap()
53 {"string", AttributeType::STRING}, in AttributeTypeNameMap()
54 {"bool", AttributeType::BOOL}, in AttributeTypeNameMap()
55 {"shape", AttributeType::SHAPE}, in AttributeTypeNameMap()
56 {"type", AttributeType::DTYPE}, in AttributeTypeNameMap()
57 {"tensor", AttributeType::TENSOR}, in AttributeTypeNameMap()
[all …]
Dop_def_util.h31 enum class AttributeType { enum
53 AttributeType AttributeTypeFromName(const std::string& type_name);
56 std::string AttributeTypeToName(AttributeType attr_type);
79 AttributeType type);
Dpython_api_info.cc240 const AttributeType dtype = AttributeTypeFromName(attr_def.type()); in InitializeAttribute()
244 if (attr.type == AttributeType::UNKNOWN) { in InitializeAttribute()
251 if (attr.type == AttributeType::DTYPE) { in InitializeAttribute()
258 } else if (attr.type == AttributeType::LIST_DTYPE) { in InitializeAttribute()
274 if (attr.type == AttributeType::INT) { in InitializeAttribute()
283 attr.type == AttributeType::DTYPE ? &inferred_type_attrs_ in InitializeAttribute()
284 : attr.type == AttributeType::LIST_DTYPE ? &inferred_type_list_attrs_ in InitializeAttribute()
285 : attr.type == AttributeType::INT ? &inferred_length_attrs_ in InitializeAttribute()
Dpython_api_info.h68 AttributeType type;
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVELFStreamer.h19 enum class AttributeType { Hidden, Numeric, Text, NumericAndText }; enum
22 AttributeType Type;
46 Item->Type = AttributeType::Numeric; in setAttributeItem()
52 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""}); in setAttributeItem()
61 Item->Type = AttributeType::Text; in setAttributeItem()
67 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)}); in setAttributeItem()
76 Item->Type = AttributeType::NumericAndText; in setAttributeItems()
83 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
DRISCVELFStreamer.cpp129 case AttributeType::Numeric: in finishAttributeSection()
132 case AttributeType::Text: in finishAttributeSection()
136 case AttributeType::NumericAndText: in finishAttributeSection()
151 case AttributeType::Hidden: in calculateContentSize()
153 case AttributeType::Numeric: in calculateContentSize()
157 case AttributeType::Text: in calculateContentSize()
161 case AttributeType::NumericAndText: in calculateContentSize()
/external/python/pyasn1-modules/pyasn1_modules/
Drfc6010.py26 AttributeType = rfc5280.AttributeType variable
38 namedtype.NamedType('attrType', AttributeType()),
Drfc2986.py26 AttributeType = rfc5280.AttributeType variable
Drfc2985.py93 class AttributeType(univ.ObjectIdentifier): class
117 namedtype.NamedType('type', AttributeType()),
135 namedtype.NamedType('attrType', AttributeType()),
Drfc6031.py384 class AttributeType(univ.ObjectIdentifier): class
396 namedtype.NamedType('attrType', AttributeType()),
408 namedtype.NamedType('attrType', AttributeType()),
Drfc7292.py68 class AttributeType(univ.ObjectIdentifier): class
86 namedtype.NamedType('attrType', AttributeType()),
Drfc2315.py20 namedtype.NamedType('type', AttributeType()),
27 namedtype.NamedType('attributeType', AttributeType()),
Drfc5280.py158 class AttributeType(univ.ObjectIdentifier): class
317 namedtype.NamedType('type', AttributeType()),
756 namedtype.NamedType('type', AttributeType()),
/external/llvm-project/mlir/include/mlir/Dialect/PDL/IR/
DPDLTypes.h25 struct AttributeType : public Type::TypeBase<AttributeType, Type, TypeStorage> { struct
DPDLBase.td79 def PDL_Attribute : PDL_Handle<"mlir::pdl::AttributeType">;
DPDLOps.td107 build($_builder, $_state, $_builder.getType<AttributeType>(), type,
111 build($_builder, $_state, $_builder.getType<AttributeType>(), Value(), attr);
456 build($_builder, $_state, $_builder.getType<AttributeType>(),
/external/cldr/tools/java/org/unicode/cldr/util/
DDtdData.java98 public enum AttributeType { enum in DtdData
115 public final AttributeType type;
143 AttributeType _type = AttributeType.ENUMERATED_TYPE; in Attribute()
147 _type = AttributeType.valueOf(split[0]); in Attribute()
153 if (_type == AttributeType.ENUMERATED_TYPE) { in Attribute()
172 …return type == AttributeType.ENUMERATED_TYPE ? (values.containsKey("year") ? "year" : values.keyS… in getSampleValue()
181 if (a.type == AttributeType.ENUMERATED_TYPE) { in appendDtdString()
210 … return (type == AttributeType.ENUMERATED_TYPE ? values.keySet().toString() : type.toString()) in features()
311 …: type == AttributeType.ENUMERATED_TYPE ? (values.containsKey(value) ? ValueStatus.valid : Value… in getValueStatus()
318 …return type == AttributeType.ENUMERATED_TYPE ? ENUM_LEAD + JOINER_COMMA_SPACE.join(values.keySet()… in getMatchString()
[all …]
DDtdDataCheck.java18 import org.unicode.cldr.util.DtdData.AttributeType;
131 } else if (a.type == AttributeType.ENUMERATED_TYPE) { in show()
/external/python/asn1crypto/asn1crypto/
Dpkcs12.py50 class AttributeType(ObjectIdentifier): class
81 ('type', AttributeType),
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp28 addTypes<AttributeType, OperationType, TypeType, ValueType>(); in initialize()
38 .Case("attribute", builder.getType<AttributeType>()) in parseType()
50 if (type.isa<AttributeType>()) in printType()
162 p.resolveOperands(attrOps, builder.getType<AttributeType>(), in parseOperationOp()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.cpp77 gl::AttributeType attribType = gl::GetAttributeType(glType); in addAttributeData()
86 ASSERT(static_cast<gl::AttributeType>(packedAttrib.attribType) == attribType); in addAttributeData()
/external/angle/src/libANGLE/capture/
Dgl_enum_utils_autogen.h22 AttributeType, enumerator
Dgl_enum_utils_autogen.cpp83 case GLenumGroup::AttributeType: in GLenumToString()
/external/llvm-project/mlir/lib/Dialect/PDLInterp/IR/
DPDLInterp.cpp65 p.resolveOperands(attrOps, builder.getType<pdl::AttributeType>(), in parseCreateOperationOp()
/external/angle/src/libANGLE/
Dformatutils.h309 enum AttributeType enum
334 AttributeType GetAttributeType(GLenum enumValue);

12