Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 355 for attr_ (0.05 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy

            hasExtraAttribute(attr2)
            doesNotHaveExtraAttribute(attr1)
        }
    
        def "collects extra attributes, two candidates"() {
            def attr1 = Attribute.of("foo", String)
            def attr2 = Attribute.of("bar", String)
            def attr3 = Attribute.of("baz", String)
    
            given:
            candidate {
                attribute(attr1, "v1")
                attribute(attr2, "v2")
            }
            candidate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_attr.mlir

    }
    
    // CHECK:        op: "NoOp"
    // CHECK-NEXT:   attr
    // CHECK-NEXT:     key: "_f"
    // CHECK-NEXT:     value
    // CHECK-NEXT:       func
    // CHECK-NEXT:         name: "original_callee"
    // CHECK-NEXT:         attr
    // CHECK-NEXT:           key: "attr2"
    // CHECK-NEXT:           value
    // CHECK-NEXT:             b: true
    // CHECK:              attr
    // CHECK-NEXT:           key: "attr3"
    // CHECK-NEXT:           value
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 16:41:06 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

        device: The tensorflow device. eg. "/CPU:0"
        op_attrs: The tensorflow attributes excluding the func attrs.
        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          tfrt_fallback_sync.createop() key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-retval-attrs.pbtxt

      }
      attr {
        key: "_arg1_attr1"
        value {
          f: 8.0
        }
      }
      attr {
        key: "index"
        value {
          i: 1
        }
      }
    }
    node {
      name: "arg2"
      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
      attr {
        key: "index"
        value {
          i: 2
        }
      }
    }
    node {
      name: "ret0"
      op: "_Retval"
      input: "arg0"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top