- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of about 10,000 for Reserve (0.39 sec)
-
pkg/controller/resourceclaim/controller.go
} } if claim.Status.Allocation != nil && !resourceclaim.IsReservedForPod(pod, claim) && resourceclaim.CanBeReserved(claim) { // Need to reserve it. return true, "need to reserve claim for pod" } } return false, "nothing to do" } func (ec *Controller) enqueueResourceClaim(logger klog.Logger, obj interface{}, deleted bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
int index, const QuantParamsEntry &info) { if (info.params_size() == 0) return; SmallVector<APFloat, 4> min_maxs; min_maxs.reserve(info.params_size() * 2); for (const auto ¶m : info.params()) { llvm::APFloat min(param.min_max().min()); llvm::APFloat max(param.min_max().max()); min_maxs.push_back(min); min_maxs.push_back(max);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
const tensorflow::protobuf::RepeatedPtrField< tensorflow::OpDef::ArgDef>& args, llvm::StringRef attr_name) { std::vector<int32_t> values; values.reserve(args.size()); for (const auto& arg : args) { auto range = arg_ranges.at(arg.name()); values.push_back(range.second - range.first); } auto attr_value =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/allocator.go
func (r *PortAllocator) Used() int { return r.portRange.Size - r.alloc.Free() } // Allocate attempts to reserve the provided port. ErrNotInRange or // ErrAllocated will be returned if the port is not valid for this range // or has already been reserved. ErrFull will be returned if there // are no ports left. func (r *PortAllocator) Allocate(port int) error { ok, offset := r.contains(port)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
quant::QuantParams DefaultQuantParamsPass::GetQuantParamsForBias( Operation *op, int bias, const std::vector<int> &non_biases, quant::AccumulatorScaleFunc func) { std::vector<quant::QuantizedType> non_bias_types; non_bias_types.reserve(non_biases.size()); for (int non_bias : non_biases) { Operation *non_bias_define = op->getOperand(non_bias).getDefiningOp(); if (auto dequant = llvm::dyn_cast<TFL::DequantizeOp>(non_bias_define)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc
<< partitioned_input.getNumOperands(); } builder.setInsertionPoint(assign_var); llvm::SmallVector<Type, 4> partitioned_output_types; partitioned_output_types.reserve(num_cores_per_replica); for (int i = 0; i < num_cores_per_replica; ++i) { const auto& input = packed_input ? inputs[0] : inputs[i]; partitioned_output_types.push_back(GetResourceSubtype(input.getType()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad.cc
// Get the axis (may be positive, negative or zero) for each of the reduced // labels. If the same label appears multiple times, get the left-most axis. std::vector<int> reduced_axes; reduced_axes.reserve(reduced_subs.size()); for (const char s : reduced_subs) { auto axis = EinsumGetAxisFromLabel(subscripts, s); if (!axis.has_value()) { // Should never happen. scope.UpdateStatus(errors::Internal(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
// of intermediate tensors since importer doesn't guarantee to preserve tensor // names except output tensors. Location OpLoc(const OperatorT& op, const std::vector<std::unique_ptr<tflite::TensorT>>& tensors, Builder builder, Location base) { if (op.outputs.empty()) return base; llvm::SmallVector<Location, 4> locations; locations.reserve(op.outputs.size()); for (auto tensor_index : op.outputs) {
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/mlir/quantization/stablehlo/passes/quantization_patterns.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
auto inputs = func.getFunctionType().getInputs(); entry->addArguments(inputs, SmallVector<Location>(inputs.size(), loc)); args = entry->getArguments(); } llvm::SmallVector<Value, 4> casted_args; casted_args.reserve(func.getNumArguments()); for (const auto& ArgAndType : zip(args, func.getFunctionType().getInputs())) { Value arg = std::get<0>(ArgAndType); Type expected_type = std::get<1>(ArgAndType);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0)