Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for Sizes (0.06 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

       public:
        // `sizes` is a vector of vector of sizes.  Each sizes vector of length n
        // generates a `rainbow` profile of the SSA form
        //
        // %1 = f1()
        // %2 = f2()
        // ...
        // %n = fn()
        // gn(%n)
        // ...
        // g2(%2)
        // g1(%1)
        //
        // with the sizes of intermediates %1,...%n given by the sizes entries.
        //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

    namespace mlir {
    namespace odml {
    namespace {
    // A struct to hold axes and sizes for a set of dimensions.
    struct DimensionVector {
      llvm::ArrayRef<int64_t> AxesArray() const { return axes; }
      llvm::ArrayRef<int64_t> SizesArray() const { return sizes; }
    
      llvm::SmallVector<int64_t, 4> axes;
      llvm::SmallVector<int64_t, 4> sizes;
    };
    
    // Appends all elements in `range` to `values`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			// to defer size computation until we have Pass.TypesSizes.
    			arch.sizes = types.SizesFor("gc", "amd64")
    			log.Printf("unknown architecture %s", arch.name)
    		}
    		arch.intSize = int(arch.sizes.Sizeof(types.Typ[types.Int]))
    		arch.ptrSize = int(arch.sizes.Sizeof(types.Typ[types.UnsafePointer]))
    		arch.maxAlign = int(arch.sizes.Alignof(types.Typ[types.Int64]))
    	}
    }
    
    var (
    	re           = regexp.MustCompile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    
    	weSleep := func() bool { return false }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/os/readfrom_linux_test.go

    				t.Run(strconv.Itoa(size), func(t *testing.T) {
    					testSpliceFile(t, "tcp", int64(size), int64(size)-1)
    				})
    			}
    		})
    		t.Run("OneLess-Unix", func(t *testing.T) {
    			for _, size := range sizes {
    				t.Run(strconv.Itoa(size), func(t *testing.T) {
    					testSpliceFile(t, "unix", int64(size), int64(size)-1)
    				})
    			}
    		})
    		t.Run("Half-TCP", func(t *testing.T) {
    			for _, size := range sizes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    			globalMaxObjectSize - 1,
    		},
    	}
    	for i, s := range sizes {
    		isMax := isMaxObjectSize(s.size)
    		if isMax != s.isMax {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/emitter.go

    				s.Ranges = nil
    				return
    			}
    
    			if end := len(sizes) - 1; start < end {
    				s.Ranges = append(s.Ranges, Range{
    					Name:      fmt.Sprintf("%v-%v", time.Duration(sizes[start].Time*1000), time.Duration(sizes[end].Time*1000)),
    					Start:     start,
    					End:       end,
    					StartTime: int64(sizes[start].Time * 1000),
    					EndTime:   int64(sizes[end].Time * 1000),
    				})
    			}
    		},
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

     public:
      Rematerializer() = default;
      virtual ~Rematerializer() = default;
    
      // The type used for memory sizes (in bytes) and differences thereof.
      using SizeT = int64_t;
    
      // The memory profile: The i-th element gives the amount of memory
      // that is needed when performing the i-th operation. This is the
      // sum of the sizes of
      //
      // (1) input tensors of that operation,
      // (2) output tensors of that operation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			args: args{v: reflect.ValueOf([]example.Pod{}), maxCapacity: 10, sizes: []int{1, 12}},
    			cap:  10,
    		},
    		{
    			name: "takes max",
    			args: args{v: reflect.ValueOf([]example.Pod{}), maxCapacity: 10, sizes: []int{8, 4}},
    			cap:  8,
    		},
    		{
    			name: "with existing capacity above max",
    			args: args{initialCapacity: 12, maxCapacity: 10, sizes: []int{8, 4}},
    			cap:  12,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    			sizeS.failedSize += oi.Size
    			sizeS.failedCount++
    		case replication.Completed, replication.CompletedLegacy:
    			tgtSizeS.replicatedSize += oi.Size
    			tgtSizeS.replicatedCount++
    			sizeS.replicatedSize += oi.Size
    			sizeS.replicatedCount++
    		}
    		sizeS.replTargetStats[arn] = tgtSizeS
    	}
    
    	if oi.ReplicationStatus == replication.Replica {
    		sizeS.replicaSize += oi.Size
    		sizeS.replicaCount++
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top