- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,997 for Reserve (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
llvm::dyn_cast<tf_device::LaunchOp>(compile->getParentOp()); if (!compile_launch || !compile_launch.WrapsSingleOp()) return; llvm::SmallVector<tf_device::LaunchOp, 4> execute_launches; execute_launches.reserve(compile_launch.getNumResults() - 1); for (Value program_result : llvm::drop_begin(compile_launch.getResults(), 1)) { if (!program_result.hasOneUse()) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
if err != nil { return nil, nil, err } if m != orig { m.close() } m = newM v, headOff, head, ok = m.lookup(name) } if v != nil { return v, nil, nil } // Reserve space for new record. // We are competing against other programs using the same file, // so we use a compare-and-swap on the allocation limit in the header. var start, end uint32 for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
mlir::func::FuncOp func, Builder* builder, OptionalOpShardingVector& sharding_for_args) { // Look up function definition from module. Block& function_block = func.front(); sharding_for_args.reserve(function_block.getNumArguments()); // Iterate through operands of `cluster_func`. // The computation operand can either be: // 1) a TPUPartitionedInput Op if the input has a non-resource type;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.cc
std::string Sanitize(absl::string_view string) { static const auto& kUnwantedChars = *new absl::flat_hash_set<char>{ '<', '>', ':', '\"', '/', '\\', '|', '?', '*', ' ', '(', ')'}; std::string sanitized; sanitized.reserve(string.size()); bool skip = false; for (const char& c : string) { if (auto it = kUnwantedChars.find(c); it != kUnwantedChars.end()) { skip = true; continue; } if (skip) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 02:44:52 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad.cc
int N; TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "N", &N)); int axis; TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "axis", &axis)); grad_outputs->reserve(N); auto grad_op = Unstack(scope, grad_inputs[0], N, Unstack::Axis(axis)); for (const Output& o : grad_op.output) { grad_outputs->emplace_back(o); } return scope.status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
ConvertI64ArrayAttrForOptionWriter(mlir::ArrayAttr attrArray, flatbuffers::FlatBufferBuilder* builder) { std::vector<int32_t> intVec; intVec.reserve(attrArray.getValue().size()); for (auto attr : attrArray.getValue()) { intVec.push_back(mlir::cast<mlir::IntegerAttr>(attr).getInt()); } return builder->CreateVector(intVec); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/bitmap.go
return dryRunRange{r} } // For clearer code. const dryRunTrue = true const dryRunFalse = false // Allocate attempts to reserve the provided IP. ErrNotInRange or // ErrAllocated will be returned if the IP is not valid for this range // or has already been reserved. ErrFull will be returned if there // are no addresses left. func (r *Range) Allocate(ip net.IP) error { return r.allocate(ip, dryRunFalse) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 10.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/pe.go
// ourselves to circumvent the stack checks in the // Windows exception dispatcher. // Commit size must be strictly less than reserve // size otherwise reserve will be rounded up to a // larger size, as verified with VMMap. // On 64-bit, we always reserve 2MB stacks. "Pure" Go code is // okay with much smaller stacks, but the syscall package // makes it easy to call into arbitrary C code without cgo,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
pkg/kubelet/cm/qos_container_manager_linux.go
// update qos cgroup tiers on startup and in periodic intervals // to ensure desired state is in sync with actual state. go wait.Until(func() { err := m.UpdateCgroups() if err != nil { klog.InfoS("Failed to reserve QoS requests", "err", err) } }, periodicQOSCgroupUpdateInterval, wait.NeverStop) return nil } // setHugePagesUnbounded ensures hugetlb is effectively unbounded
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 20:42:59 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
public: LogicalResult matchAndRewrite(BuildListOp bl_op, PatternRewriter &rewriter) const override { SmallVector<Attribute, 4> array_list; array_list.reserve(bl_op.getNumOperands()); for (const auto &operand : bl_op.getOperands()) { Attribute array_elt; if (!matchPattern(operand, m_Constant(&array_elt))) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0)