- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getAsRange (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
std::vector<std::string> disabled_checks; for (auto attr : op.getDisabledChecks().getAsRange<StringAttr>()) { disabled_checks.push_back(attr.getValue().str()); } std::vector<std::string> platforms; for (auto attr : op.getPlatforms().getAsRange<StringAttr>()) { platforms.push_back(attr.getValue().str()); } TF_ASSIGN_OR_RETURN( auto loader,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
PatternRewriter &rewriter) { SmallVector<int64_t> array; array.reserve(array_attr.size()); for (auto elem : array_attr.getAsRange<IntegerAttr>()) { array.push_back(elem.getInt()); } return DenseIntElementsAttr::get( RankedTensorType::get({static_cast<int64_t>(array_attr.size())},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
mlir::ArrayAttr array_attr, llvm::SmallVector<mlir::Type> &output_types, llvm::SmallVector<mlir::DictionaryAttr> &output_attrs) { for (auto it : llvm::zip( types, array_attr.template getAsRange<mlir::DictionaryAttr>())) { if (mlir::isa<tfg::ControlType>(std::get<0>(it))) continue; output_types.push_back(std::get<0>(it)); mlir::NamedAttrList list;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
AddRegionSideEffectsForOp(region, op); } } else if (auto xla_call_module_op = dyn_cast<XlaCallModuleOp>(op)) { for (auto func_symbol : xla_call_module_op.getFunctionList().getAsRange< mlir::FlatSymbolRefAttr>()) { if (auto func = symbol_table_collection_.lookupNearestSymbolFrom< mlir::func::FuncOp>(xla_call_module_op, func_symbol)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
std::vector<std::string> disabled_checks; for (auto attr : op.getDisabledChecks().getAsRange<StringAttr>()) { disabled_checks.push_back(attr.getValue().str()); } std::vector<std::string> platforms; for (auto attr : op.getPlatforms().getAsRange<StringAttr>()) { platforms.push_back(attr.getValue().str()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)