- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 256 for onStop (0.19 sec)
-
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java
* * This is called after the underlying Executor has been stopped. */ void onStop(); /** * Runs the Runnable, catches all Throwables and logs them. * * The first exception caught during onExecute(), will be rethrown in onStop(). */ class CatchAndRecordFailures implements ExecutorPolicy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java
} } catch (InterruptedException e) { delegate.shutdownNow(); throw UncheckedException.throwAsUncheckedException(e); } executorPolicy.onStop(); } @Override public void setKeepAlive(int timeout, TimeUnit timeUnit) { if (delegate instanceof ThreadPoolExecutor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java
addToQueue(flushOperationsCommand); flushOperationsCommand.await(); } rethrowFailure(); } private void rethrowFailure() { failureHandler.onStop(); } private static class FlushOperationsCommand implements Runnable { private CountDownLatch latch = new CountDownLatch(1); @Override public void run() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
auto const_op = dyn_cast<TF::ConstOp>(assigned_value_operand.getDefiningOp()); if (!const_op) continue; var_handle_ops.emplace_back(var_handle_op); } return var_handle_ops; } // Creates a `ConstOp` of 1-dimensional TF::StringType out of `str_values`. TF::ConstOp Create1DStringConst(const ArrayRef<std::string> str_values,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
.replaceAllUsesWith(cloned_const_op->getResult(0)); } bool IsConstOrQConstInt(Operation* op) { if (!llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(op)) return false; if (auto arith_const_op = dyn_cast_or_null<arith::ConstantOp>(op)) { // arith ConstOp path. auto type = mlir::cast<ShapedType>(arith_const_op.getType()).getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
loc, mlir::RankedTensorType::get({}, getElementTypeOrSelf(shape)), shape, /*begin=*/ builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx})), /*end=*/ builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx + 1})), /*strides=*/ builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({1})), /*begin_mask=*/0, /*end_mask=*/0, /*ellipsis_mask=*/0,
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/quantization/tensorflow/cc/constant_fold.cc
builder.setInsertionPointAfter(op); for (const auto& result_value : result_values) { results.push_back(builder.create<TF::ConstOp>(op->getLoc(), result_value)); } return success(); } bool IsOperationFoldable(Operation* op) { if (isa<TF::ConstOp>(op)) return true; if (op->getDialect()->getNamespace() != "tf" || !TF::CanBeFolded(op)) { return false; } // Check if the operands are foldable as well.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 5K bytes - Viewed (0) -
src/regexp/syntax/prog.go
type Prog struct { Inst []Inst Start int // index of start instruction NumCap int // number of InstCapture insts in re } // An InstOp is an instruction opcode. type InstOp uint8 const ( InstAlt InstOp = iota InstAltMatch InstCapture InstEmptyWidth InstMatch InstFail InstNop InstRune InstRune1 InstRuneAny InstRuneAnyNotNL )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
class QuantizeConstWeights : public OpRewritePattern<TF::ConstOp> { public: explicit QuantizeConstWeights( MLIRContext* context, const tensorflow::quantization::QuantizationOptions& quantization_options) : OpRewritePattern<TF::ConstOp>(context), quant_options_(quantization_options) {} LogicalResult matchAndRewrite(TF::ConstOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc
.Input(inputs) .Attr("ids", ids) .Attr("calibration_methods", calibration_methods) .Finalize(node_def())); ASSERT_THAT(InitOp(), StatusIs(tsl::error::INVALID_ARGUMENT, HasSubstr("NodeDef missing attr 'output_file_path'"))); } TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 11.4K bytes - Viewed (0)