Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for tPos (0.41 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    // CHECK:           %[[TPOS:.*]] = stablehlo.transpose %[[REDUCE]], dims = [0, 3, 1, 2]
    // CHECK:              : (tensor<1x56x56x64xf32>) -> tensor<1x64x56x56xf32>
    // CHECK:           return %[[TPOS]] : tensor<1x64x56x56xf32>
    
    func.func @commute_transpose_reduce_window(
          %input: tensor<1x114x114x64xf32>,
          %cst: tensor<f32>) -> tensor<1x64x56x56xf32> {
      %tpos = stablehlo.transpose %input, dims = [0, 3, 1, 2]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/compress/bzip2/bzip2.go

    		if bz2.repeats > 0 {
    			buf[n] = byte(bz2.lastByte)
    			n++
    			bz2.repeats--
    			if bz2.repeats == 0 {
    				bz2.lastByte = -1
    			}
    			continue
    		}
    
    		bz2.tPos = bz2.preRLE[bz2.tPos]
    		b := byte(bz2.tPos)
    		bz2.tPos >>= 8
    		bz2.preRLEUsed++
    
    		if bz2.byteRepeats == 3 {
    			bz2.repeats = uint(b)
    			bz2.byteRepeats = 0
    			continue
    		}
    
    		if bz2.lastByte == int(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    	fmt.Fprintf(w, "\tCount     [%d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tPos       [3 * %d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tNumStmt   [%d]uint16\n", len(f.blocks))
    	fmt.Fprintf(w, "} {\n")
    
    	// Initialize the position array field.
    	fmt.Fprintf(w, "\tPos: [3 * %d]uint32{\n", len(f.blocks))
    
    	// A nice long list of positions. Each position is encoded as follows to reduce size:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/TarSlipIntegrationTest.groovy

                new TarOutputStream(it).withCloseable { TarOutputStream tos ->
                    TarEntry entry = new TarEntry('../../tmp/evil.sh')
                    byte[] bytes = 'evil'.getBytes('utf-8')
                    entry.size = bytes.length
                    tos.putNextEntry(entry)
                    tos.write(bytes)
                    tos.closeEntry()
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/debug/gosym/symtab.go

    			tos = tos.prev
    
    		default:
    			// Push
    			tos = &stackEnt{s.Name, val, 0, tos}
    		}
    	}
    
    	if tos == noPath {
    		return "", 0
    	}
    	return tos.path, aline - tos.start - tos.offset + 1
    }
    
    func (o *Obj) alineFromLine(path string, line int) (int, error) {
    	if line < 1 {
    		return 0, &UnknownLineError{path, line}
    	}
    
    	for i, s := range o.Paths {
    		// Find this path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/internal/dag/alg.go

    func (g *Graph) Transpose() {
    	old := g.edges
    
    	g.edges = make(map[string]map[string]bool)
    	for _, n := range g.Nodes {
    		g.edges[n] = make(map[string]bool)
    	}
    
    	for from, tos := range old {
    		for to := range tos {
    			g.edges[to][from] = true
    		}
    	}
    }
    
    // Topo returns a topological sort of g. This function is deterministic.
    func (g *Graph) Topo() []string {
    	topo := make([]string, 0, len(g.Nodes))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:44 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/runtime/gc_test.go

    		var stack [depth]*node
    		tos := -1
    
    		// There are two write barriers per iteration, so i+=2.
    		for i := 0; i < b.N; i += 2 {
    			if tos == -1 {
    				stack[0] = root
    				tos = 0
    			}
    
    			// Perform one step of reversing the tree.
    			n := stack[tos]
    			if n.l == nil {
    				tos--
    			} else {
    				n.l, n.r = n.r, n.l
    				stack[tos] = n.l
    				stack[tos+1] = n.r
    				tos++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/dom.go

    	s = append(s, blockAndIndex{b: f.Entry})
    	seen[f.Entry.ID] = true
    	for len(s) > 0 {
    		tos := len(s) - 1
    		x := s[tos]
    		b := x.b
    		if i := x.index; i < len(b.Succs) {
    			s[tos].index++
    			bb := b.Succs[i].Block()
    			if !seen[bb.ID] {
    				seen[bb.ID] = true
    				s = append(s, blockAndIndex{b: bb})
    			}
    			continue
    		}
    		s = s[:tos]
    		if ponums != nil {
    			ponums[b.ID] = int32(len(order))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. pkg/wasm/cache_test.go

    	reg := registry.New()
    	// Set up a fake registry for OCI images.
    	tos := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		atomic.AddInt32(&tsNumRequest, 1)
    		reg.ServeHTTP(w, r)
    	}))
    	defer tos.Close()
    	ou, err := url.Parse(tos.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	dockerImageDigest, invalidOCIImageDigest := setupOCIRegistry(t, ou.Host)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. src/internal/dag/parse.go

    					errorf("use of %s before its definition", less)
    				} else {
    					g.AddEdge(def, less)
    				}
    			}
    		}
    	}
    
    	// Check for missing definition.
    	for _, tos := range g.edges {
    		for to := range tos {
    			if g.edges[to] == nil {
    				errorf("missing definition for %s", to)
    			}
    		}
    	}
    
    	// Complete transitive closure.
    	for _, k := range g.Nodes {
    		for _, i := range g.Nodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top