Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 440 for rewrites (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

                                             PatternRewriter& rewriter) {
      OpBuilder::InsertionGuard insertion_guard(rewriter);
    
      // Create a new `CallOp` that calls `callee_func_op`.
      rewriter.setInsertionPoint(xla_call_module_op);
      auto call_op =
          rewriter.create<func::CallOp>(xla_call_module_op.getLoc(), callee_func_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/func.go

    	lit.SetImplicit(true)
    
    	n := Expr(lit)
    	if n.Type() == nil {
    		base.FatalfAt(pos, "mkdotargslice: typecheck failed")
    	}
    	return n
    }
    
    // FixVariadicCall rewrites calls to variadic functions to use an
    // explicit ... argument if one is not already present.
    func FixVariadicCall(call *ir.CallExpr) {
    	fntype := call.Fun.Type()
    	if !fntype.IsVariadic() || call.IsDDD {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

    }
    }  // namespace
    
    // Rewrites unpartitioned resource reads and writes to partitioned resource
    // reads and writes. The TPU computation from the frontend is generated in such
    // a way that resource operations operate on the unpartitioned resource handle
    // (from a `tf.TPUReplicatedInput`). This results in resource reads and writes
    // on the unpartitioned resource handle post resource op decomposition/lifting.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/go/build/constraint/expr.go

    func PlusBuildLines(x Expr) ([]string, error) {
    	// Push all NOTs to the expression leaves, so that //go:build !(x && y) can be treated as !x || !y.
    	// This rewrite is both efficient and commonly needed, so it's worth doing.
    	// Essentially all other possible rewrites are too expensive and too rarely needed.
    	x = pushNot(x, false)
    
    	// Split into AND of ORs of ANDs of literals (tag or NOT tag).
    	var split [][][]Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/net/http/httputil/reverseproxy.go

    )
    
    // A ProxyRequest contains a request to be rewritten by a [ReverseProxy].
    type ProxyRequest struct {
    	// In is the request received by the proxy.
    	// The Rewrite function must not modify In.
    	In *http.Request
    
    	// Out is the request which will be sent by the proxy.
    	// The Rewrite function may modify or replace this request.
    	// Hop-by-hop headers are removed from this request
    	// before Rewrite is called.
    	Out *http.Request
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // Bitcast op patterns.
    //===----------------------------------------------------------------------===//
    
    // Parameter attributes are part of function attributes, which is not affected
    // by pattern rewrites. Therefore we do not need to explicilty copy attributes
    // over.
    def BitcastSameType : Pat<
      (TF_BitcastOp:$res $arg),
      (replaceWithValue $arg),
      [(SingleResultAndOperandHaveSameElementType $res, $arg)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    sed -i "" \
      's/^\(import okhttp3\.[^.]*\)\.\([a-z][a-zA-Z]*\)$/\1.Companion.\2/g' \
      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Android Studio’s Advanced Profiling feature rewrites OkHttp bytecode for instrumentation.
    Unfortunately it crashes on OkHttp 4.x’s bytecode. Until [Google’s bug][advanced_profiling_bug] is
    fixed you must disable advanced profiling in Android Studio.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        for (Region &region : op->getRegions()) {
          Region &new_region = *state.addRegion();
          rewriter.inlineRegionBefore(region, new_region, new_region.begin());
          if (failed(rewriter.convertRegionTypes(&new_region, *getTypeConverter())))
            return failure();
        }
        rewriter.replaceOp(op, rewriter.create(state)->getResults());
    
        // TODO: b/290366702 - Temporarily added metrics for debugging.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/complit.go

    		rhs := ir.NewIndexExpr(base.Pos, vstate, i)
    		rhs.SetBounded(true)
    
    		kidx := ir.NewIndexExpr(base.Pos, vstatk, i)
    		kidx.SetBounded(true)
    
    		// typechecker rewrites OINDEX to OINDEXMAP
    		lhs := typecheck.AssignExpr(ir.NewIndexExpr(base.Pos, m, kidx)).(*ir.IndexExpr)
    		base.AssertfAt(lhs.Op() == ir.OINDEXMAP, lhs.Pos(), "want OINDEXMAP, have %+v", lhs)
    		lhs.RType = n.RType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Returns pass that prepares TPU computation to be legal for export to
    // TensorFlow.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreatePrepareTpuComputationForTfExportPass();
    
    // Rewrites ops that require quantized inputs or outputs to ops that allow
    // non-quantized inputs and outputs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLowerQuantizedPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
Back to top