- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 77 for newop (0.06 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc
op->getOperands(), result_types, op->getAttrs()); for (int i = 0; i < op->getNumRegions(); ++i) { state.addRegion(); } Operation* new_op = builder.create(state); for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) { Region& region = op->getRegion(indexed_regions.index()); IRMapping mapping;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
OpBuilder builder(op); Operation *new_op = Operation::create( op->getLoc(), op->getName(), new_result_types, op->getOperands(), op->getAttrs(), op->getPropertiesStorage(), op->getSuccessors(), op->getNumRegions()); builder.insert(new_op); // Move region bodies to the new operation. for (auto it : llvm::zip(op->getRegions(), new_op->getRegions())) { Region &old_region = std::get<0>(it);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
new_operands, op->getResultTypes(), op->getAttrs(), op->getSuccessors()); Operation *new_op = rewriter.create(state); llvm::SmallVector<Value, 4> new_results = new_op->getResults(); // Add qint->int CastOp after output result if its original type is qint and // its users are not all qint->int CastOps.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
OpBuilder builder(op->getContext()); builder.setInsertionPointAfter(op); arith::ConstantOp new_op = cast<arith::ConstantOp>(builder.clone(*op)); target_op->getOpOperand(operand_index).set(new_op.getResult()); InitializeOperandState(target_op, operand_index, new_op.getResult()); InitializeResultState(new_op, 0, new_op.getResult()); return new_op; } bool QuantizationDriver::ShouldCheckBiasScale(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
src/runtime/lock_js.go
// clearIdleTimeout clears our record of the timeout started by beforeIdle. func clearIdleTimeout() { idleTimeout.clear() idleTimeout = nil } // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered. func pause(newsp uintptr) // scheduleTimeoutEvent tells the WebAssembly environment to trigger an event after ms milliseconds. // It returns a timer id that can be used with clearTimeoutEvent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc
operands.push_back(new_control_input); } } state.addOperands(operands); Operation* new_op = builder.create(state); item.replaceAllUsesWith(new_op); new_op->setAttrs(item.getAttrDictionary()); item.erase(); } AddStatefulControlFlowDependencies(graph_op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
TF_Status* status) { tensorflow::ImmediateExecutionOperation* new_op = tensorflow::unwrap(ctx)->CreateOperation(); status->status = new_op->Reset(op_or_function_name, nullptr); if (!status->status.ok()) { new_op->Release(); new_op = nullptr; } return tensorflow::wrap(new_op); } void TFE_DeleteOp(TFE_Op* op) { if (op == nullptr) { return; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
Operation* new_op = Operation::create( op_->getLoc(), op_->getName(), new_result_types, op_->getOperands(), op_->getAttrs(), op_->getPropertiesStorage(), op_->getSuccessors(), op_->getNumRegions()); builder.insert(new_op); // Move regions to the new op. for (auto it : llvm::zip(op_->getRegions(), new_op->getRegions())) { Region& old_region = std::get<0>(it);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/sys_darwin.go
ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(sysctl_trampoline)), unsafe.Pointer(&mib)) KeepAlive(mib) KeepAlive(oldp) KeepAlive(oldlenp) KeepAlive(newp) return ret } func sysctl_trampoline() //go:nosplit //go:cgo_unsafe_args func sysctlbyname(name *byte, oldp *byte, oldlenp *uintptr, newp *byte, newlen uintptr) int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
// Rewrite the cluster op. rewriter.setInsertionPoint(op); auto new_op = rewriter.create<tf_device::ClusterOp>( op->getLoc(), new_return.getOperandTypes(), op->getOperands(), op->getAttrs()); rewriter.inlineRegionBefore(op.getBodyRegion(), new_op.getBodyRegion(), new_op.getBodyRegion().end()); int idx = 0; for (Value& result : new_results) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0)