- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 732 for attr_ (0.04 sec)
-
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td
/*filter_width*/(GetI32At<1> (GetAsVectorAttr<"kernel_size"> $attrs)), /*padding*/(GetAvgPoolOpPadAttr $old_val), /*stride_h*/(GetI32At<0> (GetAsVectorAttr<"stride"> $attrs)), /*stride_w*/(GetI32At<1> (GetAsVectorAttr<"stride"> $attrs)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers.cc
list->add_s(s); } return {string_list_attr.first, attr_value}; } impl::NodeMatcherProperties impl::Attr(std::pair<string, AttrValue> attr) { impl::NodeMatcherProperties props; props.set_attr(std::move(attr)); return props; } impl::NodeMatcherProperties impl::Attr(string name) { impl::NodeMatcherProperties props; props.set_attr({std::move(name), std::nullopt}); return props; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 03 16:15:20 UTC 2022 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
for (const NamedAttribute &attr : from->getAttrs()) if (P(attr)) to->setAttr(attr.getName(), attr.getValue()); } // Copies attributes whose name begins with an _ from `from` to `to`. inline void CopyUnderscoredAttributes(Operation *from, Operation *to) { CopyAttributes(from, to, [](const NamedAttribute &attr) { return attr.getName().strref().front() == '_'; }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
it->second.second.emplace_back(std::move(node_info)); } } // Returns `true` iff node has a given `attr` set to `true`. Returns `false` // both for the missing attr, and the attr set to `false`. static bool HasBoolAttr(const NodeDef& node, const char* attr) { const auto& it = node.attr().find(attr); return it != node.attr().end() && it->second.b(); } bool CanCreateXlaKernel(const NodeDef& node_def) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_types.h
static Derived get(ArrayRef<StringAttr> attrs, MLIRContext* context) { return Base::get(context, attrs); } static Derived getChecked(ArrayRef<StringAttr> attrs, Location loc) { return Base::getChecked(loc, loc.getContext(), attrs); } static Derived getChecked(function_ref<InFlightDiagnostic()> emitError, MLIRContext* context, ArrayRef<StringAttr> attrs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/op_reg_gen_test.py
CHECK-NEXT: .Attr("T: numbertype") CHECK-NEXT: .Output("o1: T"); CHECK-EMPTY CHECK-LABEL: REGISTER_OP("TestCompositeOp") CHECK-NEXT: .Input("x: T") CHECK-NEXT: .Input("y: T") CHECK-NEXT: .Attr("act: {'', 'relu'}") CHECK-NEXT: .Attr("trans: bool = true") CHECK-NEXT: .Attr("T: numbertype") CHECK-NEXT: .Output("o1: T")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc
return mlir::failure(); int64_t num_results = 0; if (succeeded(parser.parseOptionalColon())) { mlir::IntegerAttr attr; mlir::NamedAttrList attrs; if (failed(parser.parseAttribute(attr, "num_results", attrs))) return mlir::failure(); num_results = attr.getValue().getSExtValue(); } if (num_results < 0) return mlir::failure(); llvm::SmallVector<mlir::Type, 4> operand_types;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
src/syscall/netlink_linux.go
default: return nil, EINVAL } var attrs []NetlinkRouteAttr for len(b) >= SizeofRtAttr { a, vbuf, alen, err := netlinkRouteAttrAndValue(b) if err != nil { return nil, err } ra := NetlinkRouteAttr{Attr: *a, Value: vbuf[:int(a.Len)-SizeofRtAttr]} attrs = append(attrs, ra) b = b[alen:] } return attrs, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 4.8K bytes - Viewed (0) -
maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 18K bytes - Viewed (0)