Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for rewriteHash (0.6 sec)

  1. src/cmd/compile/internal/ssa/print.go

    }
    
    func (f *Func) String() string {
    	var buf strings.Builder
    	p := stringFuncPrinter{w: &buf, printDead: true}
    	fprintFunc(p, f)
    	return buf.String()
    }
    
    // rewriteHash returns a hash of f suitable for detecting rewrite cycles.
    func (f *Func) rewriteHash() string {
    	h := notsha256.New()
    	p := stringFuncPrinter{w: h, printDead: false}
    	fprintFunc(p, f)
    	return fmt.Sprintf("%x", h.Sum(nil))
    }
    
    type funcPrinter interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    			// Note: we avoid this path for deadChange-only iterations, to fix #51639.
    			if states == nil {
    				states = make(map[string]bool)
    			}
    			h := f.rewriteHash()
    			if _, ok := states[h]; ok {
    				// We've found a cycle.
    				// To diagnose it, set debug to 2 and start again,
    				// so that we'll print all rules applied until we complete another cycle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteWasm.go

    Keith Randall <******@****.***> 1676485312 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect-rewrite/httproute-rewritepath.yaml

    Alexander Zielenski <******@****.***> 1697824555 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 488 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

    *   At last, the rewrite pass will insert SpaceToDepthOp after IteratorGetNext
        where the iterator's result has the same shape as the first convolution's
        input.
    
    #### Pseudo MLIR code before and after RewritePass
    
    ```mlir
    // Example: original program:
    //
    module {
       func @while_body {
         %input = "tf.IteratorGetNext"(...) {device = "/CPU:0"}:
                  -> tensor<2x224x224x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
Back to top