- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,083 for rewrites (0.24 sec)
-
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
// Erase unused ops after the transformation. rewriter.eraseOp(output_uniform_dequantize_call_pattern->GetCallOp()); rewriter.eraseOp(output_uniform_quantize_call_pattern->GetCallOp()); rewriter.eraseOp(multiply_op); rewriter.eraseOp(subtract_op); rewriter.eraseOp(input_i8_to_f32_convert_op); rewriter.eraseOp(input_uniform_quantize_call_pattern->GetCallOp()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
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) -
src/testing/match.go
return s, 0 } } n, err := strconv.ParseInt(suffix, 10, 32) if err != nil || n < 0 { return s, 0 } return prefix, int32(n) } // rewrite rewrites a subname to having only printable characters and no white // space. func rewrite(s string) string { b := []byte{} for _, r := range s { switch { case isSpace(r): b = append(b, '_') case !strconv.IsPrint(r):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go
return url.String() } // Do not rewrite scheme and host if the Transport has empty scheme and host // when targetURL already contains the sourceRequestHost if !(url.Host == sourceRequestHost && t.Scheme == "" && t.Host == "") { url.Scheme = t.Scheme url.Host = t.Host } origPath := url.Path // Do not rewrite URL if the sourceURL already contains the necessary prefix.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/dec.rules
// Typical case: (StructSelect [0] (IData (IMake typ dat)) rewrites to (StructSelect [0] dat) // but because the interface is immediate, the type of "IData" is a one-element struct containing // a pointer that is not the pointer type of dat (can be a *uint8). // More annoying case: (ArraySelect[0] (StructSelect[0] isAPtr)) // There, result of the StructSelect is an Array (not a pointer) and // the pre-rewrite input to the ArraySelect is a struct, not a pointer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:48:31 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Fork, exec, wait, etc. package windows import ( errorspkg "errors" "unsafe" ) // EscapeArg rewrites command line argument s as prescribed // in http://msdn.microsoft.com/en-us/library/ms880421. // This function returns "" (2 double quotes) if s is empty. // Alternatively, these transformations are done:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 7.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
type devirtualization struct { pos string callee string } const profFileName = "devirt.pprof" const preProfFileName = "devirt.pprof.node_map" // testPGODevirtualize tests that specific PGO devirtualize rewrites are performed. func testPGODevirtualize(t *testing.T, dir string, want []devirtualization, pgoProfileName string) { testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/devirtualize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0) -
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) -
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)