Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 987 for deltas (0.2 sec)

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

      // remat.insert. We store changes to the alloc/dealloc sizes due to the
      // insertion in a vector `delta`: A change `c_alloc` of `operations_[i].alloc`
      // as `delta[i] += c_alloc`, and a change `c_dealloc` of
      // `operations_[i].dealloc` as `delta[i+1] -= c_dealloc`.
      std::vector<MemSpec> deltas;
    
      if (remat.begin == remat.end) {
        return deltas;
      }
    
      // Helper lambda: converts an operation index in the original range to its
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

          m.size += patch ? 0 : operations_[m.op_index - shift].alloc;
          // deltas is sorted by location; apply any corrections to the current
          // operator.
          for (; idelta != deltas.end() && idelta->op_index == m.op_index;
               ++idelta) {
            m.size += idelta->size;
          }
          mapper(m);
          m.size -= patch ? 0 : operations_[m.op_index - shift].dealloc;
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. pkg/monitoring/monitortest/test.go

    					continue
    				}
    				var v any
    				if row.Counter != nil {
    					cv := *row.Counter.Value
    					key := toMetricKey(row, metric)
    					if delta, f := m.deltas[key]; f {
    						cv -= delta
    					}
    					v = cv
    				} else if row.Gauge != nil {
    					v = *row.Gauge.Value
    				} else if row.Histogram != nil {
    					v = row.Histogram
    				}
    				err := compare(v)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/image/ycbcr_test.go

    	// Create a YCbCr image m, whose bounds are r translated by (delta.X, delta.Y).
    	r1 := r.Add(delta)
    	m := NewYCbCr(r1, subsampleRatio)
    
    	// Test that the image buffer is reasonably small even if (delta.X, delta.Y) is far from the origin.
    	if len(m.Y) > 100*100 {
    		t.Errorf("r=%v, subsampleRatio=%v, delta=%v: image buffer is too large",
    			r, subsampleRatio, delta)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  5. src/runtime/internal/sys/consts.go

    const DefaultPhysPageSize = goarch.DefaultPhysPageSize
    
    // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems).
    // The various PC tables record PC deltas pre-divided by PCQuantum.
    const PCQuantum = goarch.PCQuantum
    
    // Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit).
    const Int64Align = goarch.PtrSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/internal/goarch/goarch.go

    const DefaultPhysPageSize = _DefaultPhysPageSize
    
    // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems).
    // The various PC tables record PC deltas pre-divided by PCQuantum.
    const PCQuantum = _PCQuantum
    
    // Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit).
    const Int64Align = PtrSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:48:21 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/benchmark.h

      int64_t max_micros = 0;  // Maximum microseconds to run, ignored if <= 0.
    };
    
    // Stats holds statistics collected during benchmarking.
    struct Stats {
      std::vector<int64_t> per_iter_us;  // Per-iteration deltas in us.
      int64_t total_us;                  // Total time in us.
    
      Stats() : total_us(0) { per_iter_us.reserve(5000); }
    };
    
    // DumpStatsToStdout printfs to stdout stats in a multi-line human-friendly
    // form.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/pcln.go

    		// When the scan is over, we emit the closing ", pc)".
    		//
    		// The table is delta-encoded. The value deltas are signed and
    		// transmitted in zig-zag form, where a complement bit is placed in bit 0,
    		// and the pc deltas are unsigned. Both kinds of deltas are sent
    		// as variable-length little-endian base-128 integers,
    		// where the 0x80 bit indicates that the integer continues.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. src/unicode/letter.go

    	hi := len(caseRange)
    	for lo < hi {
    		m := int(uint(lo+hi) >> 1)
    		cr := caseRange[m]
    		if rune(cr.Lo) <= r && r <= rune(cr.Hi) {
    			delta := cr.Delta[_case]
    			if delta > MaxRune {
    				// In an Upper-Lower sequence, which always starts with
    				// an UpperCase letter, the real deltas always look like:
    				//	{0, 1, 0}    UpperCase (Lower is next)
    				//	{-1, 0, -1}  LowerCase (Upper, Title are previous)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. pilot/pkg/xds/cds.go

    		return nil, model.DefaultXdsLogDetails, nil
    	}
    	clusters, logs := c.ConfigGenerator.BuildClusters(proxy, req)
    	return clusters, logs, nil
    }
    
    // GenerateDeltas for CDS currently only builds deltas when services change. todo implement changes for DestinationRule, etc
    func (c CdsGenerator) GenerateDeltas(proxy *model.Proxy, req *model.PushRequest,
    	w *model.WatchedResource,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 21:27:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top