- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 355 for attr_ (0.04 sec)
-
docs/debugging/xattr/main.go
} var names []string if name == "." { attrs, err := listxattr(path) if err != nil { log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err)) } names = append(names, attrs...) } else { names = append(names, name) } var data [][]string for _, attr := range names { value, err := getxattr(path, attr) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K 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/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/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) -
src/log/slog/json_handler_test.go
ReplaceAttr: func(_ []string, a Attr) Attr { v := a.Value if v.Kind() == KindTime { return String(a.Key, v.Time().Format(rfc3339Millis)) } if a.Key == "level" { return Attr{"severity", a.Value} } return a }, }}, {"time unix", HandlerOptions{ ReplaceAttr: func(_ []string, a Attr) Attr { v := a.Value if v.Kind() == KindTime {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
absl::Span< const std::pair<std::string, FunctionDefHelper::AttrValueWrapper>> attrs) { NodeDef node; node.set_name(std::string(name)); node.set_op(std::string(op)); for (const auto& input : inputs) node.add_input(input); for (const auto& attr : attrs) node.mutable_attr()->insert({attr.first, attr.second.proto}); return node; } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go
func xattrnamespace(fullattr string) (ns int, attr string, err error) { s := strings.IndexByte(fullattr, '.') if s == -1 { return -1, "", ENOATTR } namespace := fullattr[0:s] attr = fullattr[s+1:] switch namespace { case "user": return EXTATTR_NAMESPACE_USER, attr, nil case "system": return EXTATTR_NAMESPACE_SYSTEM, attr, nil default: return -1, "", ENOATTR } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.7K bytes - Viewed (0)