Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 190 for x_scale (0.14 sec)

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

    // was lost. (1.1e5).AsScale(5) would return 1.1e5, but (1.1e5).AsScale(6) would return 1e6.
    func (a int64Amount) AsScale(scale Scale) (int64Amount, bool) {
    	if a.scale >= scale {
    		return a, true
    	}
    	result, exact := negativeScaleInt64(a.value, scale-a.scale)
    	return int64Amount{value: result, scale: scale}, exact
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pcln.go

    type PCIter struct {
    	p       []byte
    	PC      uint32
    	NextPC  uint32
    	PCScale uint32
    	Value   int32
    	start   bool
    	Done    bool
    }
    
    // NewPCIter creates a PCIter with a scale factor for the PC step size.
    func NewPCIter(pcScale uint32) *PCIter {
    	it := new(PCIter)
    	it.PCScale = pcScale
    	return it
    }
    
    // Next advances it to the Next pc.
    func (it *PCIter) Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

        for (RequantizeState& rescale : rescales) {
          if (rescale.params == quantized_type) {
            rescale.users.emplace_back(op, operand_index);
            return true;
          }
        }
        RequantizeState& rescale = rescales.emplace_back();
        rescale.pos = RequantizeState::ON_OUTPUT;
        rescale.params = quantized_type;
        rescale.users.emplace_back(op, operand_index);
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	}
    	return q.i.Sign()
    }
    
    // AsScale returns the current value, rounded up to the provided scale, and returns
    // false if the scale resulted in a loss of precision.
    func (q *Quantity) AsScale(scale Scale) (CanonicalValue, bool) {
    	if q.d.Dec != nil {
    		return q.d.AsScale(scale)
    	}
    	return q.i.AsScale(scale)
    }
    
    // RoundUp updates the quantity to the provided scale, ensuring that the value is at
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      // TFR_ConstantTensorOp (
      //   ConstantOp (ConstAttr<F32Attr (in_scale[0] * in_scale[1] /
      //   out_scale))
      // )
      // Currently, all decompositions using this pattern (Conv2D, FC) have the
      // following preconditions:
      // * out_scale: float scalar attribute
      // * in_scale[0] (input scale): float scalar, given by tf.Const -> tfr.cast
      // * in_scale[1] (filter scale): float scalar/vector
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      auto &state = GetResultQuantState(op, res_index);
      if (state.params == params) {
        return false;
      }
      if (!state.IsEmpty()) {
        auto &rescale = GetResultRequantizeState(op, res_index);
        rescale.params = params;
        rescale.pos = RequantizeState::ON_INPUT;
        return false;
      }
      state.params = params;
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/math/cmplx/sqrt.go

    		r := math.Sqrt(0.5 * imag(x))
    		return complex(r, r)
    	}
    	a := real(x)
    	b := imag(x)
    	var scale float64
    	// Rescale to avoid internal overflow or underflow.
    	if math.Abs(a) > 4 || math.Abs(b) > 4 {
    		a *= 0.25
    		b *= 0.25
    		scale = 2
    	} else {
    		a *= 1.8014398509481984e16 // 2**54
    		b *= 1.8014398509481984e16
    		scale = 7.450580596923828125e-9 // 2**-27
    	}
    	r := math.Hypot(a, b)
    	var t float64
    	if a > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          e.preventDefault();
        } else if (mode == TOUCHZOOM) {
          // Get two touches; new gap; rescale to ratio.
          const t1 = findTouch(e.touches, touchid);
          const t2 = findTouch(e.touches, touchid2);
          if (t1 == null || t2 == null) return;
          const gap = touchGap(t1, t2);
          rescale(initScale * gap / initGap, centerPoint);
          e.preventDefault();
        }
      }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Scale.pb

    Daniel Smith <******@****.***> 1651776874 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 448 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/autoscaling.v1.Scale.json

    {
      "kind": "Scale",
      "apiVersion": "autoscaling/v1",
      "metadata": {
        "name": "nameValue",
        "generateName": "generateNameValue",
        "namespace": "namespaceValue",
        "selfLink": "selfLinkValue",
        "uid": "uidValue",
        "resourceVersion": "resourceVersionValue",
        "generation": 7,
        "creationTimestamp": "2008-01-01T01:01:01Z",
        "deletionTimestamp": "2009-01-01T01:01:01Z",
        "deletionGracePeriodSeconds": 10,
        "labels": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top