Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for h_scale (0.14 sec)

  1. pkg/apis/autoscaling/validation/validation.go

    )
    
    // ValidateScale validates a Scale and returns an ErrorList with any errors.
    func ValidateScale(scale *autoscaling.Scale) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, apivalidation.ValidateObjectMeta(&scale.ObjectMeta, true, apimachineryvalidation.NameIsDNSSubdomain, field.NewPath("metadata"))...)
    
    	if scale.Spec.Replicas < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling_test.go

    		deploymentReplicas  int32
    		maxSurge            intstr.IntOrString
    		oldReplicas         int32
    		newReplicas         int32
    		scaleExpected       bool
    		expectedNewReplicas int32
    	}{
    		{
    			// Should not scale up.
    			deploymentReplicas: 10,
    			maxSurge:           intstr.FromInt32(0),
    			oldReplicas:        10,
    			newReplicas:        0,
    			scaleExpected:      false,
    		},
    		{
    			deploymentReplicas:  10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

      constexpr absl::string_view kModuleCode = R"mlir(
        module {
          func.func @test_fold_constant() -> (tensor<1024x24x24x3xf32>) {
            %zp = "tf.Const"() {value = dense<2> : tensor<i32>} : () -> tensor<i32>
            %scale = "tf.Const"() {value = dense<2.0> : tensor<f32>} : () -> tensor<f32>
            %weight = "tf.Const"() {value = dense<1> : tensor<1024x24x24x3xi8>} : () -> tensor<1024x24x24x3xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        }
        return success(changed);
      }
    
     private:
      // Checks whether the operation is connected with a composite function.
      // If not, the same-scale op will not be quantized. This decision is based
      // on the current assumption that the performance gain of the same-scale
      // op itself could not beat the overhead of the quantize and dequantize
      // routines need to be added around that op. When the assumption changes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

    # CHECK:       quantization: {
    # CHECK:         scale: [ 0.093635 ],
    # CHECK:         zero_point: [ 22 ]
    # CHECK:       }
    # CHECK:     }, {
    # CHECK:       shape: [ 1, 6, 31 ],
    # CHECK:       type: INT8,
    # CHECK:       buffer: 6,
    # CHECK:       name: "output",
    # CHECK:       quantization: {
    # CHECK:         scale: [ 0.093635 ],
    # CHECK:         zero_point: [ 22 ]
    # CHECK:       }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/main.go

    				fmt.Fprintln(w, "},") // close op
    				// generic ops have no reg info or asm
    				continue
    			}
    			if v.asm != "" {
    				fmt.Fprintf(w, "asm: %s.A%s,\n", pkg, v.asm)
    			}
    			if v.scale != 0 {
    				fmt.Fprintf(w, "scale: %d,\n", v.scale)
    			}
    			fmt.Fprintln(w, "reg:regInfo{")
    
    			// Compute input allocation order. We allocate from the
    			// most to the least constrained input. This order guarantees
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go

    	"status":   "status defines current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.",
    }
    
    func (Scale) SwaggerDoc() map[string]string {
    	return map_Scale
    }
    
    var map_ScaleSpec = map[string]string{
    	"":         "ScaleSpec describes the attributes of a scale subresource",
    	"replicas": "replicas is the number of observed instances of the scaled object.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  8. pkg/controller/deployment/util/deployment_util.go

    // step. For example:
    //
    // 2 desired, max unavailable 1%, surge 0% - should scale old(-1), then new(+1), then old(-1), then new(+1)
    // 1 desired, max unavailable 1%, surge 0% - should scale old(-1), then new(+1)
    // 2 desired, max unavailable 25%, surge 1% - should scale new(+1), then old(-1), then new(+1), then old(-1)
    // 1 desired, max unavailable 25%, surge 1% - should scale new(+1), then old(-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta1/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields_test.go

    		},
    		{
    			managedFieldsEntry: `
    apiVersion: v1
    fieldsV1:
      f:apiVersion: {}
    manager: foo
    operation: Apply
    subresource: scale
    time: "2001-02-03T04:05:06Z"
    `,
    			expected: "{\"manager\":\"foo\",\"operation\":\"Apply\",\"subresource\":\"scale\"}",
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.managedFieldsEntry, func(t *testing.T) {
    			var unmarshaled metav1.ManagedFieldsEntry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top