Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for num1xx (0.16 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

    Eigen::half APFloatToEigenHalf(const APFloat& val) {
      uint16_t raw_data = val.bitcastToAPInt().getZExtValue();
      return Eigen::numext::bit_cast<Eigen::half>(raw_data);
    }
    
    APFloat EigenHalfToAPFloat(const Eigen::half& val) {
      uint16_t raw_data = Eigen::numext::bit_cast<uint16_t>(val);
      return APFloat(APFloat::IEEEhalf(), APInt(16, raw_data));
    }
    
    void PopulateEncodingParams(const std::vector<int>& block_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. src/internal/profile/encode.go

    		}
    		sort.Strings(numKeys)
    		for _, k := range numKeys {
    			vs := s.NumLabel[k]
    			for _, v := range vs {
    				s.labelX = append(s.labelX,
    					Label{
    						keyX: addString(strings, k),
    						numX: v,
    					},
    				)
    			}
    		}
    		s.locationIDX = nil
    		for _, l := range s.Location {
    			s.locationIDX = append(s.locationIDX, l.ID)
    		}
    	}
    
    	for _, m := range p.Mapping {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    	unstructuredObj := gottenNoxuInstance.(*unstructured.Unstructured).Object
    	num := unstructuredObj["num"].(map[string]interface{})
    	num1 := num["num1"].(int64)
    	num2 := num["num2"].(int64)
    	if num1 != 9223372036854775807 || num2 != 1000000 {
    		t.Errorf("Expected %v, got %v, %v", `9223372036854775807, 1000000`, num1, num2)
    	}
    }
    
    func TestPatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    				} else if l.numX != 0 || l.unitX != 0 {
    					numValues := numLabels[key]
    					units := numUnits[key]
    					if l.unitX != 0 {
    						var unit string
    						unit, err = getString(p.stringTable, &l.unitX, err)
    						units = padStringArray(units, len(numValues))
    						numUnits[key] = append(units, unit)
    					}
    					numLabels[key] = append(numLabels[key], l.numX)
    				}
    			}
    			if len(labels) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

              uint16_t bit_repr = llvm::support::endian::readNext<
                  uint16_t, llvm::endianness::native, llvm::support::unaligned>(
                  data);
              values.push_back(Eigen::numext::bit_cast<Eigen::half>(bit_repr));
            }
    
            return mlir::ElementsAttr(
                DenseElementsAttr::get(shaped_type, ArrayRef<Eigen::half>(values)));
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"updating validating field num2 to another validating value, but rachet invalid field num1",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"nums": map[string]interface{}{
    							"num1": 1,
    							"num2": 2000,
    						},
    					}},
    				expectError{applyPatchOperation{
    					"update field num1 to different invalid value",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	labelX      []label
    }
    
    // label corresponds to Profile.Label
    type label struct {
    	keyX int64
    	// Exactly one of the two following values must be set
    	strX int64
    	numX int64 // Integer value for this label
    	// can be set if numX has value
    	unitX int64
    }
    
    // Mapping corresponds to Profile.Mapping
    type Mapping struct {
    	ID              uint64
    	Start           uint64
    	Limit           uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. src/internal/profile/profile.go

    	locationIDX []uint64
    	labelX      []Label
    }
    
    // Label corresponds to Profile.Label
    type Label struct {
    	keyX int64
    	// Exactly one of the two following values must be set
    	strX int64
    	numX int64 // Integer value for this label
    }
    
    // Mapping corresponds to Profile.Mapping
    type Mapping struct {
    	ID              uint64
    	Start           uint64
    	Limit           uint64
    	Offset          uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    			"metadata": map[string]interface{}{
    				"namespace": namespace,
    				"name":      name,
    			},
    			"content": map[string]interface{}{
    				"key": "value",
    			},
    			"num": map[string]interface{}{
    				"num1": noxuInstanceNum,
    				"num2": 1000000,
    			},
    		},
    	}
    }
    
    // NewNoxuInstance returns a WishIHadChosenNoxu instance for v1beta1.
    func NewNoxuInstance(namespace, name string) *unstructured.Unstructured {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	}
    
    	// Parsing the numbers
    	num1, err := strconv.ParseUint(parts[2], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    	num2, err := strconv.ParseUint(parts[3], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    	return uint32(num1), uint32(num2), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top