Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bucketize (0.15 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/bucketize.mlir

    // Ensure bucketize roundtrip exactly
    
    func.func @main(%arg0: tensor<3x2xf32>) -> tensor<3x2xi32> {
      // CHECK-LABEL: @main
      // CHECK: "tfl.bucketize"(%arg0) <{boundaries = [0.000000e+00 : f32, 1.000000e+01 : f32, 1.000000e+02 : f32]}> : (tensor<3x2xf32>) -> tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 571 bytes
    - Viewed (0)
  2. cmd/data-usage.go

    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketSizes) == 0 {
    		dataUsageInfo.BucketSizes = make(map[string]uint64, len(dataUsageInfo.BucketsUsage))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-handler.go

    		// it's the last part of the path. e.g. /bucket/api/<bucket-name>
    		bucketIdx := strings.LastIndex(pathComponents, "/")
    		buckets = append(buckets, pathComponents[bucketIdx+1:])
    		// remove bucket from pathComponents as it is dyanamic and
    		// hence not included in the collector path.
    		pathComponents = pathComponents[:bucketIdx]
    	}
    
    	innerHandler := h.handle(pathComponents, isListingRequest, buckets)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:06:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top