Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for new_state (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/kubelet/stats/cri_stats_provider.go

    			return nil, nil
    		}
    
    		newStats := stats.Cpu
    		cachedStats := cached.stats
    		nanoSeconds := newStats.Timestamp - cachedStats.Timestamp
    		if nanoSeconds <= 0 {
    			return nil, fmt.Errorf("zero or negative interval (%v - %v)", newStats.Timestamp, cachedStats.Timestamp)
    		}
    		usageNanoCores := uint64(float64(newStats.UsageCoreNanoSeconds.Value-cachedStats.UsageCoreNanoSeconds.Value) /
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug_test.go

    	// that would be '(\\x1b\\[[0-9;]+m)?' OR TERM=dumb
    	s.atLineRe = regexp.MustCompile("\n=>[[:space:]]+[0-9]+:(.*)")
    	s.funcFileLinePCre = regexp.MustCompile("> ([^ ]+) ([^:]+):([0-9]+) .*[(]PC: (0x[a-z0-9]+)[)]\n")
    	s.ioState = newIoState(s.cmd)
    	return s
    }
    
    func (s *delveState) tag() string {
    	return s.tagg
    }
    
    func (s *delveState) stepnext(ss string) bool {
    	x := s.ioState.writeReadExpect(ss+"\n", "[(]dlv[)] ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        private ModelObject producer;
        private DisplayName displayName;
        private ValueState<S> state;
        private S value;
    
        public AbstractProperty(PropertyHost host) {
            state = ValueState.newState(host);
        }
    
        protected void init(S initialValue, S convention) {
            this.value = initialValue;
            this.state.setConvention(convention);
        }
    
        protected void init(S initialValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/cmd/go/script_test.go

    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    			a, err := txtar.ParseFile(file)
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      // Keras lstm tf.api_implements usually has attribute like "lstm_abcde91...".
      // TODO(b/147436982): we need to make sure that only the
      // outputs(full sequence) is used, not the last_output, not the new_states.
      // We will discard everything except the outputs.
      // And the outputs is in the shape of [batch, time, units].
      if (attr.getValue().starts_with("lstm_")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top