Searched refs:named_attr (Results 1 – 8 of 8) sorted by relevance
137 static LogicalResult VerifyIndexPath(Operation *op, NamedAttribute named_attr) { in VerifyIndexPath() argument138 auto attr = named_attr.second.dyn_cast<ArrayAttr>(); in VerifyIndexPath()189 NamedAttribute named_attr) { in verifyRegionArgAttribute() argument190 if (named_attr.first == "tf_saved_model.bound_input") { in verifyRegionArgAttribute()191 if (!named_attr.second.isa<FlatSymbolRefAttr>()) { in verifyRegionArgAttribute()195 auto symbol_name = named_attr.second.cast<FlatSymbolRefAttr>().getValue(); in verifyRegionArgAttribute()206 if (named_attr.first == "tf_saved_model.index_path") { in verifyRegionArgAttribute()207 return VerifyIndexPath(op, named_attr); in verifyRegionArgAttribute()211 << named_attr.first << "'"; in verifyRegionArgAttribute()216 NamedAttribute named_attr) { in verifyRegionResultAttribute() argument[all …]
31 NamedAttribute named_attr) override;35 NamedAttribute named_attr) override;37 NamedAttribute named_attr) override;
42 const mlir::tblgen::NamedAttribute& named_attr) { in GetDefaultAttrExport() argument43 Attribute attr = named_attr.attr; in GetDefaultAttrExport()56 return "Convert_" + named_attr.name.str(); in GetDefaultAttrExport()111 auto named_attr = arg.get<NamedAttribute*>(); in BuildOperator() local113 << GetDefaultAttrExport(*named_attr) << "(op." << op.getArgName(index) in BuildOperator()
346 for (const mlir::NamedAttribute& named_attr : attrs) { in ConvertAttributes() local347 auto name_strref = named_attr.first.str(); in ConvertAttributes()348 auto attr = named_attr.second; in ConvertAttributes()
227 for (auto& named_attr : inst->getAttrDictionary()) { in GetOpDescriptionForDebug() local230 named_attr.first.print(os); in GetOpDescriptionForDebug()232 if (auto element_attr = named_attr.second.dyn_cast<ElementsAttr>()) { in GetOpDescriptionForDebug()239 named_attr.second.print(os); in GetOpDescriptionForDebug()1517 for (const auto& named_attr : dict_attr) { in CreateMetadataVector() local1518 StringRef name = named_attr.first; in CreateMetadataVector()1519 mlir::Attribute attr = named_attr.second; in CreateMetadataVector()
619 auto named_attr = in AddOpIntermediatesForLstm() local621 op_state.addAttribute(named_attr.first, named_attr.second); in AddOpIntermediatesForLstm()
105 named_attr!(#$($args)*);217 macro_rules! named_attr ( macro
563 - @keeperofdakeys for fixing eol behaviour, writing documentation and adding `named_attr!`582 - `named_attr!` creates functions like `named!` but can add attributes like documentation