Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ind2 (0.09 sec)

  1. src/cmd/compile/internal/types2/scope.go

    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    	for _, name := range s.Names() {
    		fmt.Fprintf(w, "%s%s\n", indn1, s.Lookup(name))
    	}
    
    	if recurse {
    		for _, s := range s.children {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/go/types/scope.go

    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    	for _, name := range s.Names() {
    		fmt.Fprintf(w, "%s%s\n", indn1, s.Lookup(name))
    	}
    
    	if recurse {
    		for _, s := range s.children {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

        return failure();
    
      // Reshape recurrent weights to vectors if indy behaviour is enabled.
      // IndyLSTMs are a LSTM variant with diagonal recurrent weight
      // matrices. For optimization purposes these are provided as vectors.
      Value recurrent_to_input_weights =
          indy ? mlir::cast<Value>(
                     CreateFlattenOP(recurrent_weights_array->getResult(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. docs/az/docs/index.md

    * `--reload`: kod dəyişikliyindən sonra avtomatik olaraq serveri yenidən işə salır. Bu parametrdən yalnız development mərhələsində istifadə etməliyik.
    
    </details>
    
    ### İndi yoxlayaq
    
    Bu linki brauzerimizdə açaq <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    Aşağıdakı kimi bir JSON cavabı görəcəksiniz:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    int64_t GetElementIndex(llvm::SmallVectorImpl<int64_t> &shape,
                            llvm::SmallVectorImpl<int64_t> &current_index) {
      int64_t ind = 0;
      int64_t mul = 1;
      for (int i = shape.size() - 1; i >= 0; --i) {
        ind += (current_index[i] % shape[i]) * mul;
        mul *= shape[i];
      }
      return ind;
    }
    
    // Helper method that increment index represented in 'current_index_ptr'
    // in the shape of 'result_shape'.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

      if (!const_op) return -1;
      int64_t last_index = -1;
      int64_t first_index = -1;
      for (const auto& ind : const_op.getValue().getValues<APInt>()) {
        if (last_index == -1) {
          last_index = ind.getSExtValue();
          first_index = last_index;
          continue;
        }
        if (last_index + 1 != ind.getSExtValue()) return -1;
        last_index++;
      }
      return first_index;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. tests/preload_test.go

    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    	err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find2, value2)
    
    	var finds []Value
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/trace/pprof.go

    	start, end trace.Time
    }
    
    func (i interval) duration() time.Duration {
    	return i.end.Sub(i.start)
    }
    
    func (i1 interval) overlap(i2 interval) time.Duration {
    	// Assume start1 <= end1 and start2 <= end2
    	if i1.end < i2.start || i2.end < i1.start {
    		return 0
    	}
    	if i1.start < i2.start { // choose the later one
    		i1.start = i2.start
    	}
    	if i1.end > i2.end { // choose the earlier one
    		i1.end = i2.end
    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. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

        func.eraseBody();
        func.addEntryBlock();
        OpBuilder builder(func.getBody());
        if (failed(ConvertKerasLSTMLayer(func, &builder)))
          return signalPassFailure();
      }
    
      // LSTM `func::FuncOps` with indy behavior always have the `tf.api_implements`
      // function attribute prefixed with `"indy_lstm_"`.
      // IndyLSTMs have diagonal recurrent weight matrices and can benefit from
    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