- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 218 for attr_ (0.26 sec)
-
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc
string c_base_type = attr_.base_type(); if (attr_.base_type() == "type") { c_base_type = "DataType"; } else if (attr_.base_type() == "shape") { c_base_type = "const PartialTensorShape"; } // ... and wrap in a Span<> if it's a list. if (attr_.is_list()) { return absl::Substitute("absl::Span<$0>", c_base_type); } else { return c_base_type; } return attr_.full_type(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
} auto attrs = attr_.getAttrs(); if (failed(HasIntegerArrayWithSize(&func_, attrs, "pool_size", 2))) { return failure(); } if (failed(HasIntegerArrayWithSize(&func_, attrs, "strides", 2))) { return failure(); } // Retrieves padding. auto padding = mlir::dyn_cast_or_null<StringAttr>(attrs.get("padding")); if (!padding) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
} auto attrs = attr_.getAttrs(); if (failed(HasIntAttr(func_, attrs, "max_detections")) || failed(HasIntAttr(func_, attrs, "max_classes_per_detection")) || failed(HasIntAttr(func_, attrs, "num_classes")) || failed(HasFloatAttr(func_, attrs, "nms_score_threshold")) || failed(HasFloatAttr(func_, attrs, "nms_iou_threshold")) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
$2 ~ /^(TASKSTATS|TS)_/ || $2 ~ /^CGROUPSTATS_/ || $2 ~ /^GENL_/ || $2 ~ /^STATX_/ || $2 ~ /^RENAME/ || $2 ~ /^UBI_IOC[A-Z]/ || $2 ~ /^UTIME_/ || $2 ~ /^XATTR_(CREATE|REPLACE|NO(DEFAULT|FOLLOW|SECURITY)|SHOWCOMPRESSION)/ || $2 ~ /^ATTR_(BIT_MAP_COUNT|(CMN|VOL|FILE)_)/ || $2 ~ /^FSOPT_/ || $2 ~ /^WDIO[CFS]_/ || $2 ~ /^NFN/ || $2 !~ /^NFT_META_IIFTYPE/ && $2 ~ /^NFT_/ || $2 ~ /^NF_NAT_/ ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
device: The tensorflow device. eg. "/CPU:0" op_attrs: The tensorflow attributes excluding the func attrs. op_func_attrs: The func attrs. op_name: The tensorflow op name. eg. "tf.AddV2" Example: %out_ch = tfrt_fallback_async.createop(%in_ch) key(0) device("/CPU:0") "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1) }]; let arguments = (ins
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
for (auto attr : kQuantizationAxisAttrs) { if (defining_op->hasAttr(attr)) { return defining_op->getAttr(attr); } } // Not found. return rewriter.getI64IntegerAttr(-1); } LogicalResult CheckIfAttrIs8Bit(const std::string& attr, Operation* op, bool& is_8_bit) { Type element_type;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
// will not use this representation. mlir::NamedAttrList attrs; for (const auto& func_attr : value.func().attr()) { TF_ASSIGN_OR_RETURN(auto attr, ConvertAttributeValue(func_attr.second, builder)); attrs.push_back(builder->getNamedAttr(func_attr.first, attr)); } auto func_attrs = builder->getDictionaryAttr(attrs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
} LogicalResult ConvertNgrams(func::FuncOp func, llvm::StringRef api, FuncAttr attr) { func.eraseBody(); func.addEntryBlock(); func->setAttr(kTFImplements, attr); OpBuilder builder(func.getBody()); std::string custom_option_buffer; if (failed(CreateNgramsCustomOption(func, attr.getAttrs(), custom_option_buffer))) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
DeviceNameUtils::ParsedName device; if (DeviceNameUtils::ParseFullName(device_name, &device) && device.has_job && device.job == jobType) { for (const auto& attr : node->attrs()) { auto attr_key = attr.first; auto attr_value = attr.second; if (attr_key == attrKey && attr_value.value_case() == AttrValue::kType && attr_value.type() == DT_RESOURCE) { return true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
Attribute RewriteTFRCallOp::ProcessAttributeValue(Attribute attr, StringAttr attr_type) const { if (!attr_type) return attr; if (attr_type.getValue() == "tensor") { if (auto f = mlir::dyn_cast<FloatAttr>(attr)) { RankedTensorType type = RankedTensorType::get({}, f.getType()); return DenseFPElementsAttr::get(type, attr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0)