Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for new_state (0.36 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      if (!first->hasOneUse() || !second->hasOneUse())
        return rewriter.notifyMatchFailure(concat, "slice ops are used elsewhere");
    
      SmallVector<int64_t> new_start;
      SmallVector<int64_t> new_limit;
      SmallVector<int64_t> new_slice_shape;
      new_start.reserve(first.getStrides().size());
      new_limit.reserve(first.getStrides().size());
      new_slice_shape.reserve(first.getStrides().size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      if (!type.hasRank()) return type;
    
      auto shape = type.getShape();
      SmallVector<int64_t, 4> new_shape(shape.size());
    
      for (int i = 0; i < permutation.size(); ++i) {
        int64_t index = permutation[i];
        assert(index < shape.size());
        new_shape[index] = shape[i];
      }
    
      return type.clone(new_shape);
    }
    
    // Move Transpose operations that permute `op` operands after the `op`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug.go

    	// other values as these are modified.
    	newState := baseState
    	if updating {
    		newState = blockLocs[b.ID].startState
    	}
    
    	for it := newState.Iterator(); !it.Done(); {
    		k, d := it.Next()
    		thisSlot := d.(*liveSlot)
    		x := thisSlot.VarLoc
    		x0 := x // initial value in newState
    
    		// Intersect this slot with the slot in all the predecessors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. src/cmd/trace/threadgen.go

    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ThreadID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/trace/procgen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ProcID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/text/template/exec.go

    	}
    	// Variables declared by the pipeline persist.
    	dot = s.evalPipeline(dot, t.Pipe)
    	newState := *s
    	newState.depth++
    	newState.tmpl = tmpl
    	// No dynamic scoping: template invocations inherit no variables.
    	newState.vars = []variable{{"$", dot}}
    	newState.walk(dot, tmpl.Root)
    }
    
    // Eval functions evaluate pipelines, commands, and their elements and extract
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/zsyscall_windows.go

    )
    
    func adjustTokenPrivileges(token syscall.Token, disableAllPrivileges bool, newstate *TOKEN_PRIVILEGES, buflen uint32, prevstate *TOKEN_PRIVILEGES, returnlen *uint32) (ret uint32, err error) {
    	var _p0 uint32
    	if disableAllPrivileges {
    		_p0 = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/cmd/trace/testdata/go122.test

    HeapAlloc dt=24 heapalloc_value=26336904
    GoCreate dt=72 new_g=34 new_stack=47 stack=48
    GoCreate dt=183 new_g=35 new_stack=47 stack=48
    GoCreate dt=15 new_g=36 new_stack=47 stack=48
    GoCreate dt=12 new_g=37 new_stack=47 stack=48
    GoCreate dt=14 new_g=38 new_stack=47 stack=48
    HeapAlloc dt=25 heapalloc_value=26344200
    GoCreate dt=9 new_g=39 new_stack=47 stack=48
    GoCreate dt=13 new_g=40 new_stack=47 stack=48
    GoCreate dt=4 new_g=41 new_stack=47 stack=48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  9. src/internal/trace/event/go122/event.go

    		Name:         "ProcStatus",
    		Args:         []string{"dt", "p", "pstatus"},
    		IsTimedEvent: true,
    	},
    	EvGoCreate: event.Spec{
    		Name:         "GoCreate",
    		Args:         []string{"dt", "new_g", "new_stack", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{3, 2},
    	},
    	EvGoCreateSyscall: event.Spec{
    		Name:         "GoCreateSyscall",
    		Args:         []string{"dt", "new_g"},
    		IsTimedEvent: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            }
    
            private void setState(State expected, State newState) {
                lock.lock();
                try {
                    if (state != expected) {
                        throw new IllegalStateException(String.format("In unexpected state. Expected %s, actual %s",
                                expected, state));
                    }
                    state = newState;
                    condition.signalAll();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
Back to top