Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for srcCopy (0.12 sec)

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

      void runOnOperation() override;
    };
    
    template <typename SrcOp>
    class DequantizeConverter : public OpRewritePattern<SrcOp> {
     public:
      using OpRewritePattern<SrcOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(SrcOp srcop,
                                    PatternRewriter &rewriter) const final {
        Operation *op = srcop.getOperation();
        bool allTypesFp = true;
        bool allTypesQuantizedOrInt = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    	var tw timeoutWriter
    	tw, w = newTimeoutWriter(w)
    
    	// Make a copy of request and work on it in new goroutine
    	// to avoid race condition when accessing/modifying request (e.g. headers)
    	rCopy := r.Clone(r.Context())
    	go func() {
    		defer func() {
    			err := recover()
    			// do not wrap the sentinel ErrAbortHandler panic value
    			if err != nil && err != http.ErrAbortHandler {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		if !compatibleValueTypes(minType, t) {
    			return nil, fmt.Errorf("incompatible types: %v %v", *minType, *t)
    		}
    		if ratio, _ := Scale(1, t.Unit, minType.Unit); ratio < 1 {
    			minType = t
    		}
    	}
    	rcopy := *minType
    	return &rcopy, nil
    }
    
    func compatibleValueTypes(v1, v2 *profile.ValueType) bool {
    	if v1 == nil || v2 == nil {
    		return true // No grounds to disqualify.
    	}
    	// Remove trailing 's' to permit minor mismatches.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top