- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 505 for rewrite (0.16 sec)
-
tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc
if (orig_op->Device() != kVariantDeviceNull) return absl::OkStatus(); if (orig_op->is_function()) return absl::OkStatus(); // TODO(fengliuai): We need a better condition to skip the rewrite. Currently, // The rewrite is enabled for all the tf ops and it is a no-op if the tf op // isn't a composite op. The following ops are explicitly skipped here because // their "no-op" expansion is known to cause problems in some cases.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 3.8K bytes - Viewed (0) -
src/go/types/generate_test.go
switch n := n.(type) { case *ast.ImportSpec: // rewrite import path "cmd/compile/internal/syntax" to "go/token" if n.Path.Kind != token.STRING { panic("invalid import path") } m.rename(&n.Path.Value) return false case *ast.SelectorExpr: // rewrite syntax.Pos to token.Pos m.renameSel(n) case *ast.CallExpr: // rewrite x.IsKnown() to x.IsValid()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/dist/buildtool.go
} var ssaRewriteFileSubstring = filepath.FromSlash("src/cmd/compile/internal/ssa/rewrite") // isUnneededSSARewriteFile reports whether srcFile is a // src/cmd/compile/internal/ssa/rewriteARCHNAME.go file for an // architecture that isn't for the given GOARCH. // // When unneeded is true archCaps is the rewrite base filename without // the "rewrite" prefix or ".go" suffix: AMD64, 386, ARM, ARM64, etc.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/gofmt/gofmt_unix_test.go
t.Fatal(err) } defer func() { *write = false }() *write = true initParserMode() initRewrite() const maxWeight = 2 << 20 var buf, errBuf strings.Builder s := newSequencer(maxWeight, &buf, &errBuf) s.Add(fileWeight(fn, info), func(r *reporter) error { return processFile(fn, info, nil, r) }) if s.GetExitCode() == 0 { t.Fatal("rewrite of read-only file succeeded unexpectedly") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 12:52:14 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td
def EmbeddingPipeliningPass : Pass<"tf-embedding-pipelining", "mlir::ModuleOp"> { let summary = "Rewrite graph for embedding pipelining"; let constructor = "TFDevice::CreateEmbeddingPipeliningPass()"; let description = [{ For architectures that support accelerated embedding lookups, this pass will rewrite the graph to use pipelining for better device utilization. }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:42:09 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
return IsTransposeOpWithPermuation(lhs.getDefiningOp(), kNhwcToNchwPermutation); } void rewrite(AddOp op, PatternRewriter& rewriter) const override { DeferRhsTransposeForBinaryOp(op, rewriter); } }; // Rewrites the `reduce_window(transpose(%activation), %init_value)` patterns to // `transpose(reduce_window(%activation), %init_value)`, deferring the transpose
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go
if err != nil { // Do not rewrite the URL if it isn't valid. It is intended not // to error here to prevent the inability to understand the // content of the body to cause a fatal error. continue } token.Attr[i].Val = urlRewriter(url) } } } _, err = writer.Write([]byte(token.String())) default: _, err = writer.Write(tokenizer.Raw()) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
for (Operation* candidate_op : *candidate_ops) { // If it is requantize op, we shouldn't rewrite this op. if (isa<QuantizeOpT, DequantizeOpT>(candidate_op)) { return failure(); } // If the op is terminator, we shouldn't rewrite. if (candidate_op->hasTrait<OpTrait::IsTerminator>()) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
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)