- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for pushBack (0.22 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// resized. if (resized_tensor_list_index.count(i)) { updated_types->push_back( VariantToUnrankedTensorType(std::get<0>(it), std::get<1>(it))); } else { updated_types->push_back(std::get<2>(it).getType()); } } else { updated_types->push_back(std::get<0>(it)); } ++i; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0)