Home
last modified time | relevance | path

Searched refs:NamedAttrList (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tfr/utils/
Dutils.cc42 void CollectAllowedAttrs(CallOp src, NamedAttrList* attrs) { in CollectAllowedAttrs()
53 const NamedAttrList& attrs) { in AddAttributesInSameBlock()
64 const NamedAttrList& attrs) { in AddAttributes()
167 NamedAttrList attrs; in CopyNonSymbolRefAttrs()
181 NamedAttrList attrs; in PropagateAttrsToOperations()
/external/tensorflow/tensorflow/core/ir/importexport/
Dfunctiondef_import.cc220 tensorflow::StatusOr<NamedAttrList> ConvertArgDefAttributes( in ConvertArgDefAttributes()
222 NamedAttrList input_attrs; in ConvertArgDefAttributes()
269 NamedAttrList attrs; in ImportGenericFunction()
286 NamedAttrList attr_defs; in ImportGenericFunction()
288 NamedAttrList attr_def; in ImportGenericFunction()
360 TF_ASSIGN_OR_RETURN(NamedAttrList input_attrs, in ImportGenericFunction()
364 NamedAttrList arg_attr; in ImportGenericFunction()
376 args_attrs.push_back(NamedAttrList{}.getDictionary(context)); in ImportGenericFunction()
386 TF_ASSIGN_OR_RETURN(NamedAttrList output_attrs, in ImportGenericFunction()
393 NamedAttrList output_attrs; in ImportGenericFunction()
Dgraphdef_import.cc203 StatusOr<unsigned> ArgNumType(const NamedAttrList &attrs,
209 const FunctionDef &function, GraphFuncOp op, NamedAttrList &attrs);
212 NamedAttrList &attrs);
356 const FunctionDef &function, GraphFuncOp op, NamedAttrList &attrs) { in ConvertFunctionAttributes()
412 NamedAttrList &attrs) { in ConvertArgumentAttributes()
546 NamedAttrList func_attrs; in ConvertFunctionDef()
562 NamedAttrList attrs; in ConvertFunctionDef()
595 NamedAttrList attrs; in ConvertFunctionDef()
695 StatusOr<unsigned> GraphDefImporter::ArgNumType(const NamedAttrList &attrs, in ArgNumType()
Dconvert_attributes.cc351 NamedAttrList subattrs; in ConvertNonFuncAttributeValue()
379 NamedAttrList attrs; in ConvertAttributeValue()
/external/tensorflow/tensorflow/core/transforms/utils/
Dutils.h26 class NamedAttrList; variable
35 void EraseRegularNodeAttributes(NamedAttrList &attr_list);
Dutils.cc45 void EraseRegularNodeAttributes(NamedAttrList &attr_list) { in EraseRegularNodeAttributes()
46 NamedAttrList new_attr_list; in EraseRegularNodeAttributes()
54 NamedAttrList dst_attrs(dst->getAttrDictionary()); in ForwardNonIntrinsicAttributes()
/external/tensorflow/tensorflow/core/transforms/graph_compactor/
Dpass.cc103 NamedAttrList attrs = func->getAttrDictionary(); in runOnOperation()
110 NamedAttrList attrs = func.arg_attrsAttr()[i].cast<DictionaryAttr>(); in runOnOperation()
120 for (NamedAttrList attrs : in runOnOperation()
137 for (NamedAttrList attrs : control_attrs.getAsRange<DictionaryAttr>()) { in runOnOperation()
308 NamedAttrList attrs = op->getAttrDictionary(); in addDefaultValuedAttrs()
/external/tensorflow/tensorflow/core/transforms/consolidate_attrs/
Dpass.cc123 Type refineTypeWithOutputShapes(Type type, NamedAttrList &attrs);
130 Type type, NamedAttrList &attrs) { in refineTypeWithOutputShapes()
179 NamedAttrList attrs(func.getArgAttrs(arg.getArgNumber())); in reifyAndDropFunctionArgumentAttributes()
202 NamedAttrList attrs(it.value()); in reifyAndDropFunctionResultAttributes()
374 NamedAttrList attrs(func->getAttrDictionary()); in runOnOperation()
403 NamedAttrList attrs(func->getAttrDictionary()); in prepareFunctionAttributes()
440 NamedAttrList attrs(attr_dict); in prepareAttributesFor()
507 NamedAttrList attrs(op->getAttrDictionary()); in matchAndRewrite()
529 NamedAttrList attrs(op->getAttrDictionary()); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/ir/
Dtfrt_fallback_common.cc51 mlir::NamedAttrList op_attrs; in ParseExecuteOpCommon()
52 mlir::NamedAttrList op_func_attrs; in ParseExecuteOpCommon()
88 mlir::NamedAttrList attrs; in ParseExecuteOpCommon()
Dtfrt_fallback_async.cc217 NamedAttrList op_attrs; in parse()
233 mlir::NamedAttrList attrs; in parse()
/external/tensorflow/tensorflow/core/runtime_fallback/opdefs/
Dtfrt_fallback_common.cc51 mlir::NamedAttrList op_attrs; in ParseExecuteOpCommon()
52 mlir::NamedAttrList op_func_attrs; in ParseExecuteOpCommon()
88 mlir::NamedAttrList attrs; in ParseExecuteOpCommon()
Dtfrt_fallback_async.cc151 NamedAttrList op_attrs; in parseBatchFunctionOp()
167 mlir::NamedAttrList attrs; in parseBatchFunctionOp()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Draise_to_tf.cc105 SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs,
118 const SmallVectorImpl<Value>& inputs, const NamedAttrList& attr_list,
230 SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs, in CollectInputsAndAttributes()
377 const SmallVectorImpl<Value>& inputs, const NamedAttrList& attr_list, in CreateAndReplaceOp()
435 NamedAttrList argument_attrs; in matchAndRewrite()
/external/tensorflow/tensorflow/core/transforms/region_to_functional/
Dimpl.cc139 NamedAttrList BuildAttributes(RegionAttr preserved, ValueRange arguments,
156 TypeRange res_types, NamedAttrList attrs) const;
500 NamedAttrList BasePattern::BuildAttributes(RegionAttr preserved, in BuildAttributes()
504 NamedAttrList attrs(preserved ? preserved.getAttrs() : DictionaryAttr()); in BuildAttributes()
518 NamedAttrList attrs(attr ? attr[it.index()].template cast<DictionaryAttr>() in BuildAttributes()
586 NamedAttrList ctl_attrs; in GetControlRetAttrs()
598 NamedAttrList attrs) const { in CreateFunc()
645 NamedAttrList func_attrs = BuildAttributes( in Outline()
960 NamedAttrList cond_attrs = this->BuildAttributes( in matchAndRewrite()
/external/tensorflow/tensorflow/dtensor/mlir/
Dshape_utils.cc111 mlir::NamedAttrList GetAllAttributesFromOperation(mlir::Operation* op) { in GetAllAttributesFromOperation()
112 mlir::NamedAttrList attr_list; in GetAllAttributesFromOperation()
Dhandle_sparsetensors.cc123 mlir::NamedAttrList attributes(dict_attr); in UpdateFunctionInputAttributes()
/external/tensorflow/tensorflow/core/ir/utils/
Dshape_inference_utils.cc71 NamedAttrList GetAllAttributesFromOperation(Operation* op) { in GetAllAttributesFromOperation()
72 NamedAttrList attr_list; in GetAllAttributesFromOperation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_cluster_formation.cc70 using MetadataMap = llvm::SmallDenseMap<llvm::StringRef, NamedAttrList, 8>;
98 NamedAttrList attrs(metadata_op->getAttrDictionary()); in CollectMetadata()
702 NamedAttrList attributes; in runOnOperation()
Dtfg-to-tfe.cc65 mlir::NamedAttrList list; in FilterTfgSpecificArgResultAttributes()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_attr.cc101 mlir::NamedAttrList attrs; in ConvertAttributeValue()
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2022-140.md10 StatusOr<unsigned> GraphDefImporter::ArgNumType(const NamedAttrList &attrs,
/external/tensorflow/tensorflow/core/ir/
Dops.cc567 NamedAttrList attrs; in parse()
600 NamedAttrList result_attr; in parse()
615 NamedAttrList parsed_attributes; in parse()
804 NamedAttrList attrs; in parse()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc143 using mlir::NamedAttrList;
362 NamedAttrList* attributes);
1304 NamedAttrList* attributes) { in ConvertFunctionCallAttribute()
1338 NamedAttrList attrs; in ConvertAttributeValue()
1609 llvm::SmallVector<mlir::NamedAttrList, 4> arg_attrs; in ConvertFunctionArgAndRets()
1611 llvm::SmallVector<mlir::NamedAttrList, 4> ret_attrs; in ConvertFunctionArgAndRets()
1721 llvm::to_vector<4>(llvm::map_range(arg_attrs, [&](NamedAttrList& list) { in ConvertFunctionArgAndRets()
1725 llvm::to_vector<4>(llvm::map_range(ret_attrs, [&](NamedAttrList& list) { in ConvertFunctionArgAndRets()
/external/tensorflow/tensorflow/core/transforms/functional_to_region/
Dimpl.cc187 NamedAttrList preserved_attrs; in PreserveFunctionAttributes()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc936 NamedAttrList attrs(op->getAttrDictionary()); in EmitDnnConvolution()
1631 NamedAttrList arg_attr_list; in Initialize()

12