Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for tPos (0.03 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. 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)
  5. 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)
  6. 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)
  7. cmd/import-boss/main.go

    	type edge struct {
    		from string
    		to   string
    	}
    
    	adj := make(map[edge]bool)
    	imports := make(map[string]struct{})
    	for from, tos := range in {
    		for _, to := range tos {
    			adj[edge{from, to}] = true
    			imports[to] = struct{}{}
    		}
    	}
    
    	// Warshal's algorithm
    	for k := range in {
    		for i := range in {
    			if !adj[edge{i, k}] {
    				continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/cmd/trace/pprof.go

    		rec = new(traceviewer.ProfileRecord)
    	}
    	// Insert regardless of whether we have a match in m.pcs.
    	// Even if we have a match, we want to keep the newest version
    	// of that stack, since we're much more likely tos see it again
    	// as we iterate through the trace linearly. Simultaneously, we
    	// are likely to never see the old stack again.
    	m.pcs[pcs] = stack
    	m.stacks[stack] = rec
    	return rec
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho.go

    	}
    
    	if sect.Name == ".init_array" {
    		msect.name = "__mod_init_func"
    		msect.flag = S_MOD_INIT_FUNC_POINTERS
    	}
    
    	// Some platforms such as watchOS and tvOS require binaries with
    	// bitcode enabled. The Go toolchain can't output bitcode, so use
    	// a marker section in the __LLVM segment, "__asm", to tell the Apple
    	// toolchain that the Go text came from assembler and thus has no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  10. src/cmd/link/link_test.go

    		t.Fatalf("got:\n%q\nwant:\n%s", out, re)
    	}
    }
    
    func TestBuildForTvOS(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoBuild(t)
    
    	// Only run this on darwin, where we can cross build for tvOS.
    	if runtime.GOOS != "darwin" {
    		t.Skip("skipping on non-darwin platform")
    	}
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		t.Skip("skipping in -short mode with $GO_BUILDER_NAME empty")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top