Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_value (0.18 sec)

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

    	testValues := []string{"100m", "1Gi"}
    	zero := MustParse("0")
    	for _, testValue := range testValues {
    		value := MustParse(testValue)
    		v1 := value.DeepCopy()
    		// ensure non-zero - zero = non-zero (suffix preserved)
    		v1.Sub(zero)
    		// ensure we preserved the input value
    		if v1.String() != testValue {
    			t.Errorf("Expected %v, actual %v", testValue, v1.String())
    		}
    
    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. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        # is not backloaded into Python.
        if name_str == 'ag__':
          return {type(AG_MODULE)}, AG_MODULE
    
        return None, None
    
      def res_value(self, ns, value):
        # resolves the type of the symbol by the metadata in 'value'
        if value is None:
          return {TFRTypes.NONE}
        if value in (TFRTypes.SHAPE, TFRTypes.TF_TENSOR_SHAPE_FUNC):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
Back to top