Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for pushBack (0.18 sec)

  1. src/net/http/transport.go

    	tail    []*wantConn
    }
    
    // len returns the number of items in the queue.
    func (q *wantConnQueue) len() int {
    	return len(q.head) - q.headPos + len(q.tail)
    }
    
    // pushBack adds w to the back of the queue.
    func (q *wantConnQueue) pushBack(w *wantConn) {
    	q.tail = append(q.tail, w)
    }
    
    // popFront removes and returns the wantConn at the front of the queue.
    func (q *wantConnQueue) popFront() *wantConn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    	// lock.
    	if atomic.Load(&gcBlackenEnabled) == 0 {
    		unlock(&work.assistQueue.lock)
    		return true
    	}
    
    	gp := getg()
    	oldList := work.assistQueue.q
    	work.assistQueue.q.pushBack(gp)
    
    	// Recheck for background credit now that this G is in
    	// the queue, but can still back out. This avoids a
    	// race in case background marking has flushed more
    	// credit since we checked above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    	}
    	pInfo := obj.(*framework.QueuedPodInfo)
    	pInfo.Attempts++
    	p.schedulingCycle++
    	// In flight, no concurrent events yet.
    	if p.isSchedulingQueueHintEnabled {
    		p.inFlightPods[pInfo.Pod.UID] = p.inFlightEvents.PushBack(pInfo.Pod)
    	}
    
    	// Update metrics and reset the set of unschedulable plugins for the next attempt.
    	for plugin := range pInfo.UnschedulablePlugins.Union(pInfo.PendingPlugins) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/math_grad.cc

        grad_outputs->push_back(dx);
        auto dy =
            MatMul(scope, y0, y1, MatMul::TransposeA(adj_y0).TransposeB(adj_y1));
        grad_outputs->push_back(dy);
      } else {
        auto dx = BatchMatMulV3(scope, x0, x1, x_data_type,
                                BatchMatMulV3::AdjX(adj_x0).AdjY(adj_x1));
        grad_outputs->push_back(dx);
        auto dy = BatchMatMulV3(scope, y0, y1, y_data_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                  static_cast<int64_t>(0)));
        }
        compilation_key_ops.push_back(compilation_key_op);
        core_to_compilation_key.push_back(compilation_key);
        core_to_device_ordinal_op.push_back(device_ordinal_op);
        if (device_cluster->getParentOfType<mlir::tf_device::ReplicateOp>())
          core_to_device_ordinal.push_back(
              core_to_device_ordinal_op[core]->getResults()[0]);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

          padded_begin.push_back(0);
          padded_end.push_back(0);
          padded_stride.push_back(1);
        }
    
        // Account for ellipsis mask.
        ++index;
    
        // After the ellipsis.
        for (; index < begin_shape[0];) {
          padded_begin.push_back(begin_dense_elem_attr.getValues<int32_t>()[index]);
          padded_end.push_back(end_dense_elem_attr.getValues<int32_t>()[index]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        });
    
        std::vector<std::string> lines;
        lines.push_back("-------- Quantization Summary --------");
        lines.push_back("Number of quantized layers in the model");
        lines.push_back("--------------------------------");
        lines.push_back(
            absl::StrFormat("%s Count/Total", pad_string("Name", name_col_width)));
        lines.push_back("================================");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      min_maxs.reserve(mins.size() * 2);
      for (int i = 0, end = mins.size(); i < end; ++i) {
        llvm::APFloat min(mins[i]);
        llvm::APFloat max(maxs[i]);
        min_maxs.push_back(min);
        min_maxs.push_back(max);
      }
      // The layer stats contain only the first min/max pairs.
      mlir::ElementsAttr layer_stats = mlir::DenseFPElementsAttr::get(
          tensorflow::GetTypeFromTFTensorShape({2}, b.getF32Type()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis.cc

          absl::string_view frame_name = control_flow_info_[out_id].frame_name;
          if (IsRootEnter(out)) {
            ready_enters_per_frame[frame_name].push_back(out);
          } else if (IsRootExit(out)) {
            ready_exits.push_back(out);
          } else {
            ready.push_back(out);
          }
        }
    
        if (ready.empty()) {
          // Try moving nodes from ready_enters_per_frame and ready_exits to
          // `ready`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          reshaped_shape_ints.push_back(outer_shape_ints[i]);
          reshaped_shape_ints.push_back(block_shape_ints[i]);
        }
        for (int64_t i = 1 + block_rank; i < input_rank; ++i) {
          reshaped_shape_vals.push_back(padded_shape_splits[i]);
          reshaped_shape_ints.push_back(padded_shape[i]);
        }
        auto reshaped_shape = ValuesToRank1(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top