Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 336 for rewrite (0.19 sec)

  1. tensorflow/compiler/aot/tfcompile.bzl

            test_name = name + "_test"
            test_file = test_name + ".cc"
    
            template_file = "//tensorflow/compiler/aot:test"
            template_file += if_oss("", "_google") + ".cc"
    
            # Rule to rewrite the template_file to produce the test_file.
            native.genrule(
                name = ("gen_" + test_name),
                testonly = 1,
                srcs = [
                    template_file,
                    header_file,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    	return errs
    }
    
    func validateHTTPRewrite(rewrite *networking.HTTPRewrite) error {
    	if rewrite == nil {
    		return nil
    	}
    	if rewrite.Uri != "" && rewrite.UriRegexRewrite != nil {
    		return errors.New("rewrite may only contain one of URI or UriRegexRewrite")
    	}
    	if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

            // The op is disabled by default. Otherwise, values will be saved
            // during calibration.
            rewriter.getNamedAttr("enabled", rewriter.getBoolAttr(enabled)),
            rewriter.getNamedAttr("func_name", rewriter.getStringAttr(func_name)),
            rewriter.getNamedAttr("node_name", rewriter.getStringAttr(node_name)),
        };
        return dump_attributes;
      }
    
      StringAttr DuplicateFunction(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    	}
    
    	if n.Op() == ir.OCALLFUNC && n.Fun.Op() == ir.OCLOSURE {
    		directClosureCall(n)
    	}
    
    	if ir.IsFuncPCIntrinsic(n) {
    		// For internal/abi.FuncPCABIxxx(fn), if fn is a defined function, rewrite
    		// it to the address of the function of the ABI fn is defined.
    		name := n.Fun.(*ir.Name).Sym().Name
    		arg := n.Args[0]
    		var wantABI obj.ABI
    		switch name {
    		case "FuncPCABI0":
    			wantABI = obj.ABI0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. hack/update-vendor.sh

    go mod tidy
    # pin expanded versions
    ensure_require_replace_directives_for_all_dependencies
    # group require/replace directives
    group_directives
    
    # Phase 4: copy root go.mod to staging dirs and rewrite
    
    kube::log::status "go.mod: propagate to staging modules" >&11
    for repo in $(kube::util::list_staging_repos); do
      (
        cd "staging/src/k8s.io/${repo}"
    
        echo "=== propagating to ${repo}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project  // IWYU pragma: keep
    #include "mlir/Rewrite/FrozenRewritePatternSet.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

        pm.addPass(mlir::TFTPU::CreateTPUVariableRuntimeReformattingPass());
      }
    }
    
    void AddNonTPULowerClusterToRuntimeOpsPassPipeline(
        OpPassManager& pm, llvm::StringRef module_name) {
      // Rewrite cluster functions into XLA launch ops.
      pm.addPass(mlir::TFDevice::CreateXlaRewritePass());
      // Re-run the canonicalizer pass as some cleanup during resource op lifting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. doc/go_mem.html

    <p>
    Note that if there are no read-write or write-write data races on memory location <i>x</i>,
    then any read <i>r</i> on <i>x</i> has only one possible <i>W</i>(<i>r</i>):
    the single <i>w</i> that immediately precedes it in the happens before order.
    </p>
    
    <p>
    More generally, it can be shown that any Go program that is data-race-free,
    meaning it has no program executions with read-write or write-write data races,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. hack/golangci-hints.yaml

          text: use a function call in (Eventually|Consistently)
    
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507012435
        - linters:
            - gocritic
          text: "ifElseChain: rewrite if-else to switch statement"
    
        # Only packages listed here opt into the strict "exported symbols must be documented".
        #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        const Type quantized_type =
            quant_type.castFromExpressedType(expressed_type);
    
        rewriter.setInsertionPointAfter(op);
        auto q = rewriter.create<quantfork::QuantizeCastOp>(
            op->getLoc(), quantized_type, op->getResult(0));
        auto dq = rewriter.create<quantfork::DequantizeCastOp>(op->getLoc(),
                                                               expressed_type, q);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top