- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 732 for attr_ (0.05 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir
// CHECK: name: "output0" // CHECK-NEXT: op: "_Retval" // CHECK-NEXT: input: "input0" // CHECK-NEXT: attr { // CHECK-NEXT: key: "T" // CHECK-NEXT: value { // CHECK-NEXT: type: DT_INT32 // CHECK-NEXT: } // CHECK-NEXT: } // CHECK-NEXT: attr { // CHECK-NEXT: key: "index" // CHECK-NEXT: value { // CHECK-NEXT: i: 0 // CHECK-NEXT: } // CHECK-NEXT: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 12:28:56 UTC 2022 - 3.4K bytes - Viewed (0) -
src/log/slog/handler_test.go
replace: func([]string, Attr) Attr { return Attr{} }, attrs: []Attr{Group("g", Int("a", 1))}, wantText: "", wantJSON: `{}`, }, { name: "replace empty 1", with: func(h Handler) Handler { return h.WithGroup("g").WithAttrs([]Attr{Int("a", 1)}) }, replace: func([]string, Attr) Attr { return Attr{} }, attrs: []Attr{Group("h", Int("b", 2))}, wantText: "",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 13:57:53 UTC 2023 - 19.6K 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) -
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) -
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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy
} void "can set attributes"() { def attr1 = Attribute.of("attr1", String) def attr2 = Attribute.of("attr2", Integer) when: dependency.attributes { it.attribute(attr1, 'foo') it.attribute(attr2, 123) } then: dependency.attributes.keySet() == [attr1, attr2] as Set dependency.attributes.getAttribute(attr1) == 'foo'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 12.1K 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) -
src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go
// Add on extra attributes if provided. if attrs != nil { // Make bold if specified. if attrs.Bold { attr += ` style="bold,filled"` } // Add peripheries if specified. if attrs.Peripheries != 0 { attr += fmt.Sprintf(` peripheries=%d`, attrs.Peripheries) } // Add URL if specified. target="_blank" forces the link to open in a new tab. if attrs.URL != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 20:51:42 UTC 2022 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
// we cannot rely on node name; use an attribute instead. host_compute_builder.Attr(kXlaOriginalOutsideCompilationNodeName, host_compute_builder.node_name()); // Copy all attributes. for (const auto& attr : call_node->attrs()) { host_compute_builder.Attr(attr.first, attr.second); } // Populate tpu_core assignment.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)