Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 339 for attr_ (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	matches, matchObjErr := a.objectMatcher.MatchObjectSelector(h, attr)
    	if !matches && matchObjErr == nil {
    		return nil, nil
    	}
    
    	var invocation *WebhookInvocation
    	for _, r := range h.GetRules() {
    		m := rules.Matcher{Rule: r, Attr: attr}
    		if m.Matches() {
    			invocation = &WebhookInvocation{
    				Webhook:     h,
    				Resource:    attr.GetResource(),
    				Subresource: attr.GetSubresource(),
    				Kind:        attr.GetKind(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    	matchKind := attr.GetKind()
    	matchResource := attr.GetResource()
    
    	for _, namedRule := range namedRules {
    		rule := v1.RuleWithOperations(namedRule.RuleWithOperations)
    		ruleMatcher := rules.Matcher{
    			Rule: rule,
    			Attr: attr,
    		}
    		if !ruleMatcher.Matches() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatistics.java

                collector.recordVisitDirectory();
                return doPreVisitDirectory(dir, attrs);
            }
    
            protected abstract FileVisitResult doPreVisitDirectory(Path dir, BasicFileAttributes attrs);
    
            @Override
            public final FileVisitResult visitFile(Path file, BasicFileAttributes attrs) {
                collector.recordVisitFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. fastapi/utils.py

            new_field.key_field = create_cloned_field(  # type: ignore[attr-defined]
                field.key_field,  # type: ignore[attr-defined]
                cloned_types=cloned_types,
            )
        new_field.validators = field.validators  # type: ignore[attr-defined]
        new_field.pre_validators = field.pre_validators  # type: ignore[attr-defined]
        new_field.post_validators = field.post_validators  # type: ignore[attr-defined]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul_disabled.pbtxt

      input: "Placeholder_1"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "adj_x"
        value {
          b: false
        }
      }
      attr {
        key: "adj_y"
        value {
          b: false
        }
      }
    }
    versions {
      producer: 175
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

                      .Input(inputs)
                      .Attr("ids", ids)
                      .Attr("calibration_methods", calibration_methods)
                      .Finalize(node_def()));
      ASSERT_THAT(InitOp(),
                  StatusIs(tsl::error::INVALID_ARGUMENT,
                           HasSubstr("NodeDef missing attr 'output_file_path'")));
    }
    
    TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

        return false;
      }
    
      return DenseI64AttrToI32Vector(attr, out_vec);
    }
    
    std::optional<bool> GetBoolFromCompositeAttr(
        const DictionaryAttr& composite_attrs, llvm::StringRef attr_name) {
      auto attr = composite_attrs.get(attr_name);
      if (!attr) return std::nullopt;
      if (auto bool_attr = mlir::dyn_cast_or_null<BoolAttr>(attr)) {
        return bool_attr.getValue();
      }
      return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/os/exec_posix.go

    )
    
    func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
    	// If there is no SysProcAttr (ie. no Chroot or changed
    	// UID/GID), double-check existence of the directory we want
    	// to chdir into. We can make the error clearer this way.
    	if attr != nil && attr.Sys == nil && attr.Dir != "" {
    		if _, err := Stat(attr.Dir); err != nil {
    			pe := err.(*PathError)
    			pe.Op = "chdir"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.cc

      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
      std::unique_ptr<GradientFunction> gradient_fn;
      TF_RETURN_IF_ERROR(registry.Lookup(*forward_op_, &gradient_fn));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

      bool IsValueInitValue(const DenseElementsAttr& attr) const override {
        auto element_type = attr.getType().getElementType();
        if (attr.getNumElements() != 1 || !element_type.isIntOrFloat())
          return false;
        if (mlir::isa<FloatType>(element_type)) {
          auto value = *attr.value_begin<APFloat>();
          return value.isNegative() && value.isInfinity();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top