Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 884 for scaleY (0.17 sec)

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

    import (
    	"math"
    	"math/big"
    	"testing"
    )
    
    func TestScaledValueInternal(t *testing.T) {
    	tests := []struct {
    		unscaled *big.Int
    		scale    int
    		newScale int
    
    		want int64
    	}{
    		// remain scale
    		{big.NewInt(1000), 0, 0, 1000},
    
    		// scale down
    		{big.NewInt(1000), 0, -3, 1},
    		{big.NewInt(1000), 3, 0, 1},
    		{big.NewInt(0), 3, 0, 0},
    
    		// always round up
    		{big.NewInt(999), 3, 0, 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int.go

    		return &big.Int{}
    	}
    }
    
    // scaledValue scales given unscaled value from scale to new Scale and returns
    // an int64. It ALWAYS rounds up the result when scale down. The final result might
    // overflow.
    //
    // scale, newScale represents the scale of the unscaled decimal.
    // The mathematical value of the decimal is unscaled * 10**(-scale).
    func scaledValue(unscaled *big.Int, scale, newScale int) int64 {
    	dif := scale - newScale
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 20:41:44 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

    class FixedResultScale<QuantizedType qt> : NativeOpTrait<!strconcat(
      "quant::FixedResult", qt.name, "Scale<", qt.asTraitArgsStr, ">::Impl")>;
    
    // Specify this trait if the bias-th input of the op is a bias input, which
    // needs a scale based on the scales of op1 and op2.
    class AccumulatorUniformScale<int bias, int op1, int op2> : NativeOpTrait<
      !strconcat("quant::AccumulatorUniformScale<",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. docs/orchestration/README.md

    MinIO is a cloud-native application designed to scale in a sustainable manner in multi-tenant environments. Orchestration platforms provide perfect launchpad for MinIO to scale. Below is the list of MinIO deployment documents for various orchestration platforms:
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/image_grad_test.cc

      constexpr int kOutWidth = 6;
    
      const TensorShape kXShape = TensorShape({1, 2, 3, 1});
      for (const Input scale : kScales) {
        for (const Input translation : kTranslations) {
          for (const std::string& kernel_type : kKernelTypes) {
            TestScaleAndTranslate<float, float, float>(
                kXShape, kOutHeight, kOutWidth, scale, translation, kernel_type,
                true);
          }
        }
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 04:08:05 UTC 2019
    - 12.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go

    				{Name: string(v1.ResourceMemory), Weight: 1},
    				{Name: "nvidia.com/gpu", Weight: 1},
    			}},
    			runPreScore: true,
    		},
    		// Only one node (node1) has the scalar resource, pod doesn't request the scalar resource and the scalar resource should be skipped for consideration.
    		// Node1: std = 0, score = 100
    		// Node2: std = 0, score = 100
    		{
    			pod:          st.MakePod().Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/types.go

    )
    
    // ScaleSpec describes the attributes of a scale subresource
    type ScaleSpec struct {
    	// replicas is the number of observed instances of the scaled object.
    	// +optional
    	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
    }
    
    // ScaleStatus represents the current status of a scale subresource.
    type ScaleStatus struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-scalar-input.pbtxt

    # Verify that we match correctly the input / output when they are scalar.
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%{{[a-z0-9]+}}: tensor<f32> {tf.device = "/device:CPU:0"})
    # CHECK-SAME:  control_outputs = ""
    # CHECK-SAME:  inputs = "input"
    # CHECK-SAME:  outputs = "out:1,out"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go

    }
    
    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 desired number of instances for the scaled object.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  10. src/image/jpeg/writer.go

    			quality = 100
    		}
    	}
    	// Convert from a quality rating to a scaling factor.
    	var scale int
    	if quality < 50 {
    		scale = 5000 / quality
    	} else {
    		scale = 200 - quality*2
    	}
    	// Initialize the quantization tables.
    	for i := range e.quant {
    		for j := range e.quant[i] {
    			x := int(unscaledQuant[i][j])
    			x = (x*scale + 50) / 100
    			if x < 1 {
    				x = 1
    			} else if x > 255 {
    				x = 255
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top