- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 290 for attr_ (0.42 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt
name: "custom_relu" } attr { key: "_implements" value { func { name: "tensorflow.relu" } } } } function { signature { name: "custom_embedding_matmul" } attr { key: "_implements" value { func { name: "tensorflow.embedding_matmul" attr { key: "key1"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 01 20:09:54 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/utils/utils.cc
new llvm::StringSet<>({"asymmetric_quantize_inputs"}); return *ops; } void CollectAllowedAttrs(CallOp src, NamedAttrList* attrs) { for (auto& attr : src->getAttrs()) { if (GetAllowedAttributes().contains(attr.getName().strref())) { attrs->append(attr); } } } // Adds `attrs` to all the operations between `begin` and `end` in the same // block. Does not include `end`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 6.2K bytes - Viewed (0) -
src/log/slog/record.go
} } ne := countEmptyGroups(attrs[i:]) r.back = slices.Grow(r.back, len(attrs[i:])-ne) for _, a := range attrs[i:] { if !a.Value.isEmptyGroup() { r.back = append(r.back, a) } } } // Add converts the args to Attrs as described in [Logger.Log], // then appends the Attrs to the [Record]'s list of Attrs. // It omits empty groups. func (r *Record) Add(args ...any) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:30:56 UTC 2023 - 6K 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) -
src/log/slog/record_test.go
} func newRecordWithAttrs(as []Attr) Record { r := NewRecord(time.Now(), LevelInfo, "", 0) r.AddAttrs(as...) return r } func attrsSlice(r Record) []Attr { s := make([]Attr, 0, r.NumAttrs()) r.Attrs(func(a Attr) bool { s = append(s, a); return true }) return s } func attrsEqual(as1, as2 []Attr) bool { return slices.EqualFunc(as1, as2, Attr.Equal) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 15:10:55 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/mlir-module-serialized-str-attr.mlir
// RUN: tf-mlir-translate -mlir-tf-mlir-to-str-attr -mlir-print-local-scope %s | FileCheck %s module attributes {tf.versions = {producer = 888 : i32}} { func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> { %0 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown) func.return %0 : tensor<?xi32> loc(unknown) } loc(unknown) } loc(unknown)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 24 06:42:46 UTC 2023 - 672 bytes - Viewed (0) -
src/net/interface_linux.go
// stack consists of IP point-to-point numbered or unnumbered // addressing. for _, a := range attrs { if a.Attr.Type == syscall.IFA_LOCAL { ipPointToPoint = true break } } for _, a := range attrs { if ipPointToPoint && a.Attr.Type == syscall.IFA_ADDRESS { continue } switch ifam.Family { case syscall.AF_INET:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 7K 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/tensorflow/translate/upgrade_graph.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 14:33:47 UTC 2024 - 6.2K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/handlers_test.go
t.Fatal(err) } got := h.ringBuffer[0] if !got.Time.Equal(r.Time) || !slices.EqualFunc(attrSlice(got), attrSlice(r), slog.Attr.Equal) { t.Errorf("got %+v, want %+v", got, r) } }) } func attrSlice(r slog.Record) []slog.Attr { var as []slog.Attr r.Attrs(func(a slog.Attr) bool { as = append(as, a); return true }) return as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 1.1K bytes - Viewed (0)