Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for x_scale (0.11 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      // TFR_ConstantTensorOp (
      //   ConstantOp (ConstAttr<F32Attr (in_scale[0] * in_scale[1] /
      //   out_scale))
      // )
      // Currently, all decompositions using this pattern (Conv2D, FC) have the
      // following preconditions:
      // * out_scale: float scalar attribute
      // * in_scale[0] (input scale): float scalar, given by tf.Const -> tfr.cast
      // * in_scale[1] (filter scale): float scalar/vector
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      auto &state = GetResultQuantState(op, res_index);
      if (state.params == params) {
        return false;
      }
      if (!state.IsEmpty()) {
        auto &rescale = GetResultRequantizeState(op, res_index);
        rescale.params = params;
        rescale.pos = RequantizeState::ON_INPUT;
        return false;
      }
      state.params = params;
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          e.preventDefault();
        } else if (mode == TOUCHZOOM) {
          // Get two touches; new gap; rescale to ratio.
          const t1 = findTouch(e.touches, touchid);
          const t2 = findTouch(e.touches, touchid2);
          if (t1 == null || t2 == null) return;
          const gap = touchGap(t1, t2);
          rescale(initScale * gap / initGap, centerPoint);
          e.preventDefault();
        }
      }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    	mapper.RegisterKindFor(gvr("apps", "v1", "deployments"), "scale", gvk("autoscaling", "v1", "Scale"))
    	mapper.RegisterKindFor(gvr("apps", "v1beta1", "deployments"), "scale", gvk("apps", "v1beta1", "Scale"))
    	mapper.RegisterKindFor(gvr("apps", "v1alpha1", "deployments"), "scale", gvk("apps", "v1alpha1", "Scale"))
    
    	// register invalid kinds to trigger an error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  5. pkg/registry/apps/statefulset/storage/storage.go

    		return nil, errors.NewBadRequest("nil update passed to Scale")
    	}
    	scale, ok := newScaleObj.(*autoscaling.Scale)
    	if !ok {
    		return nil, errors.NewBadRequest(fmt.Sprintf("expected input object type to be Scale, but %T", newScaleObj))
    	}
    
    	// validate
    	if errs := autoscalingvalidation.ValidateScale(scale); len(errs) > 0 {
    		return nil, errors.NewInvalid(autoscaling.Kind("Scale"), statefulset.Name, errs)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler_test.go

    				},
    				{
    					Manager:     "scale",
    					Operation:   metav1.ManagedFieldsOperationUpdate,
    					APIVersion:  "apps/v1",
    					FieldsType:  "FieldsV1",
    					FieldsV1:    &metav1.FieldsV1{Raw: []byte(`{"f:spec":{"f:the-replicas":{}}}`)},
    					Subresource: "scale",
    				},
    			},
    		},
    		{
    			desc:         "Custom resource without scale subresource, scaling a version with `scale`",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go

    		storage.Status = &StatusREST{store: &statusStore}
    	}
    
    	if scale := strategy.scale; scale != nil {
    		var labelSelectorPath string
    		if scale.LabelSelectorPath != nil {
    			labelSelectorPath = *scale.LabelSelectorPath
    		}
    
    		storage.Scale = &ScaleREST{
    			store:               store,
    			specReplicasPath:    scale.SpecReplicasPath,
    			statusReplicasPath:  scale.StatusReplicasPath,
    			labelSelectorPath:   labelSelectorPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. pkg/registry/apps/statefulset/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != int32(replicas) {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, scale.Spec.Replicas)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. pkg/registry/core/replicationcontroller/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != replicas {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, rc.Spec.Replicas)
    	}
    
    	update.ResourceVersion = rc.ResourceVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2/generated.proto

    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/autoscaling/v2";
    
    // ContainerResourceMetricSource indicates how to scale on a resource metric known to
    // Kubernetes, as specified in requests and limits, describing each pod in the
    // current scale target (e.g. CPU or memory).  The values will be averaged
    // together before being compared to the target.  Such metrics are built in to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top