Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for h_scale (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		q3.SetScaled(item.value, item.scale)
    		if q.Cmp(*q3) != 0 {
    			t.Errorf("Expected %v and %v to be equal", q, q3)
    		}
    	}
    }
    
    func TestScaledValue(t *testing.T) {
    	table := []struct {
    		fromScale Scale
    		toScale   Scale
    		expected  int64
    	}{
    		{Nano, Nano, 1},
    		{Nano, Micro, 1},
    		{Nano, Milli, 1},
    		{Nano, 0, 1},
    		{Micro, Nano, 1000},
    		{Micro, Micro, 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/types.go

    )
    
    // +genclient
    // +genclient:method=GetScale,verb=get,subresource=scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=UpdateScale,verb=update,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=ApplyScale,verb=apply,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. api/discovery/aggregated_v2beta1.json

                  "subresources": [
                    {
                      "responseKind": {
                        "group": "autoscaling",
                        "kind": "Scale",
                        "version": "v1"
                      },
                      "subresource": "scale",
                      "verbs": [
                        "get",
                        "patch",
                        "update"
                      ]
                    },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		if subresources.Scale.LabelSelectorPath != nil && len(*subresources.Scale.LabelSelectorPath) > 0 {
    			if errs := validateSimpleJSONPath(*subresources.Scale.LabelSelectorPath, fldPath.Child("scale.labelSelectorPath")); len(errs) > 0 {
    				allErrs = append(allErrs, errs...)
    			} else if !strings.HasPrefix(*subresources.Scale.LabelSelectorPath, ".spec.") && !strings.HasPrefix(*subresources.Scale.LabelSelectorPath, ".status.") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

            in_y);
        auto out_w_f32 = rewriter.create<CastOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({}, rewriter.getF32Type()),
            out_y);
    
        Value y_scale = rewriter.create<DivOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({}, rewriter.getF32Type()),
            in_y_f32, out_w_f32);
    
        Value zero_f32 = rewriter.create<ConstOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/validation/validation_test.go

    	for _, successCase := range successCases {
    		if errs := ValidateScale(&successCase); len(errs) != 0 {
    			t.Errorf("expected success: %v", errs)
    		}
    	}
    
    	errorCases := []struct {
    		scale autoscaling.Scale
    		msg   string
    	}{{
    		scale: autoscaling.Scale{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "frontend",
    				Namespace: metav1.NamespaceDefault,
    			},
    			Spec: autoscaling.ScaleSpec{
    				Replicas: -1,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

              input_tensor: Input tensor to perform convolution on.
    
            Returns:
              A map of: output key -> output result.
            """
            scale = [1.0] * self.out_channel_size
            offset = [0.5] * self.out_channel_size
            mean, variance = scale, offset
            out = nn_ops.depthwise_conv2d_native(
                input_tensor,
                self.filters,
                strides=[1, 2, 2, 1],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    //              scale * rsqrt(variance + epsilon)
    // CHECK:  %[[MUL1:.*]] = "tf.Mul"(%[[ARG1:.*]], %[[RSQRT]])
    //              x * scale * rsqrt(variance + epsilon)
    // CHECK:  %[[MUL2:.*]] = "tf.Mul"(%[[ARG0:.*]], %[[MUL1]])
    //              mean * scale * rsqrt(variance + epsilon)
    // CHECK:  %[[MUL3:.*]] = "tf.Mul"(%[[ARG3:.*]], %[[MUL1]])
    //              offset - mean * scale * rsqrt(variance + epsilon)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go

    	out.Status = (*apiextensions.CustomResourceSubresourceStatus)(unsafe.Pointer(in.Status))
    	out.Scale = (*apiextensions.CustomResourceSubresourceScale)(unsafe.Pointer(in.Scale))
    	return nil
    }
    
    // Convert_v1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go

    	out.Status = (*apiextensions.CustomResourceSubresourceStatus)(unsafe.Pointer(in.Status))
    	out.Scale = (*apiextensions.CustomResourceSubresourceScale)(unsafe.Pointer(in.Scale))
    	return nil
    }
    
    // Convert_v1beta1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 71.5K bytes
    - Viewed (0)
Back to top