Home
last modified time | relevance | path

Searched refs:named_attr (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_saved_model.cc137 static LogicalResult VerifyIndexPath(Operation *op, NamedAttribute named_attr) { in VerifyIndexPath() argument
138 auto attr = named_attr.second.dyn_cast<ArrayAttr>(); in VerifyIndexPath()
189 NamedAttribute named_attr) { in verifyRegionArgAttribute() argument
190 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 …]
Dtf_saved_model.h31 NamedAttribute named_attr) override;
35 NamedAttribute named_attr) override;
37 NamedAttribute named_attr) override;
/external/tensorflow/tensorflow/compiler/mlir/xla/
Doperator_writer_gen.cc42 const mlir::tblgen::NamedAttribute& named_attr) { in GetDefaultAttrExport() argument
43 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() local
113 << GetDefaultAttrExport(*named_attr) << "(op." << op.getArgName(index) in BuildOperator()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc346 for (const mlir::NamedAttribute& named_attr : attrs) { in ConvertAttributes() local
347 auto name_strref = named_attr.first.str(); in ConvertAttributes()
348 auto attr = named_attr.second; in ConvertAttributes()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc227 for (auto& named_attr : inst->getAttrDictionary()) { in GetOpDescriptionForDebug() local
230 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() local
1518 StringRef name = named_attr.first; in CreateMetadataVector()
1519 mlir::Attribute attr = named_attr.second; in CreateMetadataVector()
Dflatbuffer_import.cc619 auto named_attr = in AddOpIntermediatesForLstm() local
621 op_state.addAttribute(named_attr.first, named_attr.second); in AddOpIntermediatesForLstm()
/external/rust/crates/nom/src/combinator/
Dmacros.rs105 named_attr!(#$($args)*);
217 macro_rules! named_attr ( macro
/external/rust/crates/nom/
DCHANGELOG.md563 - @keeperofdakeys for fixing eol behaviour, writing documentation and adding `named_attr!`
582 - `named_attr!` creates functions like `named!` but can add attributes like documentation