Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 578 for rewrites (0.17 sec)

  1. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (MOVBstore [off] {sym} ptr y:(SETA x) mem) && y.Uses == 1 => (SETAstore [off] {sym} ptr x mem)
    (MOVBstore [off] {sym} ptr y:(SETAE x) mem) && y.Uses == 1 => (SETAEstore [off] {sym} ptr x mem)
    
    // block rewrites
    (If (SETL  cmp) yes no) => (LT  cmp yes no)
    (If (SETLE cmp) yes no) => (LE  cmp yes no)
    (If (SETG  cmp) yes no) => (GT  cmp yes no)
    (If (SETGE cmp) yes no) => (GE  cmp yes no)
    (If (SETEQ cmp) yes no) => (EQ  cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        OpBuilder::InsertionGuard g(rewriter);
        rewriter.setInsertionPointAfter(preceding_sc_op);
        auto fcast_op = rewriter.create<TF::CastOp>(
            preceding_sc_op->getLoc(), dq_arg_type.clone(rewriter.getF32Type()),
            preceding_sc_op.getResult());
    
        // Create a new AvgPool op with float type.
        TF::AvgPoolOp float_avg_pool_op = rewriter.create<TF::AvgPoolOp>(
            avg_pool_op->getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    	fgcc := creat(*objDir + base + ".cgo2.c")
    
    	p.GoFiles = append(p.GoFiles, base+".cgo1.go")
    	p.GccFiles = append(p.GccFiles, base+".cgo2.c")
    
    	// Write Go output: Go input with rewrites of C.xxx to _C_xxx.
    	fmt.Fprintf(fgo1, "// Code generated by cmd/cgo; DO NOT EDIT.\n\n")
    	if strings.ContainsAny(srcfile, "\r\n") {
    		// This should have been checked when the file path was first resolved,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

                                    PatternRewriter& rewriter) const override {
        // Collect all the candidate ops for quantization.
        FailureOr<SmallVector<Operation*>> candidate_ops = CollectCandidateOps(op);
        // Safeguard check to ensure that there is at least one quantizable op.
        if (failed(candidate_ops) || candidate_ops->empty()) return failure();
    
        // Rewrite the floating-point ops to the quantized version, by fusing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/buildlist.go

    		// are present in the module graph reachable from rootPaths, they must not
    		// be at a lower version. That could cause a missing sum error or a new
    		// import ambiguity.
    		//
    		// For example, suppose a developer rewrites imports from example.com/m to
    		// example.com/m/v2, then runs 'go mod tidy'. Tidy may delete the
    		// requirement on example.com/m if there is no other transitive requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

          }
        } else {
          return failure();
        }
    
        rewriter.setInsertionPointAfter(op.getOperation());
        Type result_type = quant_type.castFromExpressedType(op.getType());
        auto q =
            rewriter.create<QuantizeOpT>(op.getLoc(), result_type, op.getArg());
        q->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
    
        auto dq = rewriter.create<DequantizeOpT>(op.getLoc(), op.getType(), q);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    // and because the eventual real load of the test imports (during 'go test')
    // can produce better error messages if it starts with the original paths.
    // The initial load of p loads all the non-test imports and rewrites
    // the vendored paths, so nothing should ever call p.vendored(p.Imports).
    func (p *Package) Resolve(imports []string) []string {
    	if len(imports) > 0 && len(p.Imports) > 0 && &imports[0] == &p.Imports[0] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

          auto dimsType = RankedTensorType::get({1}, rewriter.getIntegerType(64));
          broadcast_dims = DenseIntElementsAttr::get(dimsType, {filter_rank - 1});
        }
        Value broadcast_multiplier = rewriter.create<mhlo::BroadcastInDimOp>(
            mul_op.getLoc(), filter.getType(), multiplier, broadcast_dims);
        Value new_filter = rewriter.create<mhlo::MulOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

            return true;
          };
    
      return RewriteOp(op, rewriter, get_broadcasted_shape);
    }
    
    template <typename Op>
    LogicalResult ConvertResultsBroadcastableShapeOp::RewriteEqOp(
        Operation* op, PatternRewriter& rewriter) const {
      auto eq_op = llvm::dyn_cast_or_null<Op>(op);
      if (eq_op && eq_op.getIncompatibleShapeError())
        return RewriteOp(op, rewriter, OpTrait::util::getBroadcastedShape);
      return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    	    Sets -cover.
    
    	-cpuprofile cpu.out
    	    Write a CPU profile to the specified file before exiting.
    	    Writes test binary as -c would.
    
    	-memprofile mem.out
    	    Write an allocation profile to the file after all tests have passed.
    	    Writes test binary as -c would.
    
    	-memprofilerate n
    	    Enable more precise (and expensive) memory allocation profiles by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top