- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for newop (0.04 sec)
-
src/runtime/vdso_freebsd_x86.go
atomic.Casuintptr(&hpetDevMap[idx], 0, ^uintptr(0)) return } addr, mmapErr := mmap(nil, physPageSize, _PROT_READ, _MAP_SHARED, fd, 0) closefd(fd) newP := uintptr(addr) if mmapErr != 0 { newP = ^uintptr(0) } if !atomic.Casuintptr(&hpetDevMap[idx], 0, newP) && mmapErr == 0 { munmap(addr, physPageSize) } } //go:nosplit func (th *vdsoTimehands) getTimecounter() (uint32, bool) { switch th.algo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc
auto new_op = OpBuilder(op).create<TFL::WhileOp>( op->getLoc(), op->getResultTypes(), op->getOperands(), while_op.getIsStateless()); Location loc = while_op->getLoc(); CreateRegionWithCall(while_op.cond_function(), new_op.getCond(), loc); CreateRegionWithCall(while_op.body_function(), new_op.getBody(), loc); op->replaceAllUsesWith(new_op.getResults()); op->erase(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
auto new_op = OpBuilder(op).create<CaseOrIfOp>( op.getLoc(), first_branch.getFunctionType().getResults(), new_operands, op->getAttrs()); for (const auto& entry : output_buffer_to_size) { (*buffer_to_size)[new_op.getResult(std::get<0>(entry))] = { new_op.getResult(std::get<1>(entry)), std::get<2>(entry)}; } op.replaceAllUsesWith(new_op.getResults().take_front(op.getNumResults()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go
return nil } func (fb *FakeBinding) GetParamRef() *v1.ParamRef { return nil } func (fp *FakePolicy) DeepCopyObject() runtime.Object { // totally fudged deepcopy newFP := &FakePolicy{} *newFP = *fp return newFP } func (fb *FakeBinding) DeepCopyObject() runtime.Object { // totally fudged deepcopy newFB := &FakeBinding{} *newFB = *fb return newFB
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
auto operands = llvm::to_vector<4>(op->getOperands()); operands.push_back(operand); auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(), operands, attr.getAttrs()); op->replaceAllUsesWith(new_op.getOperation()->getResults()); op->erase(); return new_op; } // Returns success if the function has at most one op of the template type and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc
call_result.replaceAllUsesWith(new_result); } continue; } Operation& new_op = *builder.clone(op, arg_mapper); for (auto [result, new_result] : llvm::zip_equal(op.getResults(), new_op.getResults())) { new_op_mapper.map(result, new_result); } } call_op.erase(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc
return opb.create<mlir::TF::LessOp>(loc, x, y).getOperation(); }); // mlir::TF::NegOp py::class_<mlir::TF::NegOp>(m, "Tf_NegOp") .def("create", [](mlir::OpBuilder& opb, mlir::Location loc, mlir::Value x) -> mlir::Operation* { return opb.create<mlir::TF::NegOp>(loc, x).getOperation(); }); py::class_<mlir::TF::NotEqualOp>(m, "Tf_NotEqualOp")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 7.6K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils.go
} } for i < len(oi) && j < len(newOi) { if oi[i].First < newOi[j].First { appendOrMergeWithLastInterval(oi[i]) i++ } else { appendOrMergeWithLastInterval(newOi[j]) j++ } } for i < len(oi) { appendOrMergeWithLastInterval(oi[i]) i++ } for j < len(newOi) { appendOrMergeWithLastInterval(newOi[j]) j++ } return result }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_tensor_list_init_ops_pass.cc
for (auto& use : tensor_list.getUses()) { uses.emplace_back(&use); } OpBuilder builder(tensor_list_op.getOperation()); for (OpOperand* operand : uses) { auto new_op = builder.clone(*tensor_list_op.getOperation()); operand->set(new_op->getResult(0)); } } // This transformation pass replicates TensorList initialization ops. class ReplicateTensorListInitOps : public impl::ReplicateTensorListInitOpsPassBase<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Jan 22 17:28:34 UTC 2023 - 2.7K bytes - Viewed (0)