- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for IgnoreError (0.14 sec)
-
tensorflow/cc/training/coordinator.cc
} else { for (const auto& code : clean_stop_errors) { clean_stop_errors_.insert(static_cast<int>(code)); } } } Coordinator::~Coordinator() { RequestStop().IgnoreError(); Join().IgnoreError(); } Status Coordinator::RegisterRunner(std::unique_ptr<RunnerInterface> runner) { { mutex_lock l(mu_); if (should_stop_) { return Status(absl::StatusCode::kFailedPrecondition,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.h
/// A TensorFlow Session does not Close itself on destruction. To avoid /// resource leaks, we explicitly call Close on Sessions that we create. ~SavedModelBundle() override { if (session) { session->Close().IgnoreError(); } } SavedModelBundle() = default; Session* GetSession() const override { return session.get(); } const protobuf::Map<string, SignatureDef>& GetSignatures() const override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.cc
return absl::OkStatus(); } QueueRunner::~QueueRunner() { // Cannot run Stop() here because the session might already be closed or // destroyed. Join().IgnoreError(); } Status QueueRunner::Start(Session* sess) { return Start(sess, 0); } Status QueueRunner::StartAndCollectCostGraph(Session* sess, const RunOptions& run_options) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc
compilation_result.get())); DumpHloCompilationResult("legalize_tf_fallback.hlo", compilation_result.get()) .IgnoreError(); return *compilation_result; } auto combined_bridge_status = internal::LegalizeTfToHlo( std::get<0>(computation), metadata, use_tuple_args, device_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 00:40:46 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc
tensorflow::core::platform::ErrorSourceProto::MLIR_BRIDGE_PHASE_1, status); tsl::error_logging::Log(kBridgeComponent, bridge_subcomponent, status.ToString()) .IgnoreError(); return status; } } // namespace tensorflow::Status ExportFromTensorflowDialectToExecutor( ModuleOp module, llvm::StringRef module_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc
tensorflow::core::platform::ErrorSourceProto::MLIR_BRIDGE_PHASE_1, status); tsl::error_logging::Log(kBridgeComponent, bridge_subcomponent, status.ToString()) .IgnoreError(); return status; } } // namespace tensorflow::Status ExportFromTensorflowDialectToExecutor( ModuleOp module, llvm::StringRef module_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 16 03:41:02 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_profiler.cc
// excessive amount of shape dynamism. if (it->second.is_megamorphic) { BroadcastOptimizationRemark(XlaOptimizationRemark::MEGAMORPHIC_FUNCTION, function.name()) .IgnoreError(); VLOG(2) << "Not compiling cluster " << function.name() << " because it is megamorphic."; return false; } // TODO(b/255826209): Figure out if Lazy compilation is still needed given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc
} tsl::error_logging::Log(kBridgeComponent, "TFXLA_API_V2_BRIDGE_WITH_FALLBACK_FAIL", mlir_bridge_status.status().ToString()) .IgnoreError(); return mlir_bridge_status.status(); } }; // namespace internal }; // namespace tf2xla
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.cc
stream) != streams_defined_on_.end()) { // stream is in streams_defined_on_; it doesn't need to be waited on. return; } stream->WaitFor(definition_event_.get()).IgnoreError(); streams_defined_on_.push_back(stream); } void XlaTensor::ResetDefinitionEvent(std::shared_ptr<se::Event> event, se::Stream* stream) { mutex_lock lock(mu_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/function.cc
} // TODO(srbs): Update RegisterFunction to accept AbstractFunctionPtr. TF_RETURN_IF_ERROR(ctx->RegisterFunction(trace.get())); auto cleanup = absl::MakeCleanup( [fname, ctx]() { ctx->RemoveFunction(fname).IgnoreError(); }); auto call_op = AbstractOperationPtr(ctx->CreateOperation()); TF_RETURN_IF_ERROR( call_op->Reset(fname.c_str(), /*raw_device_name=*/nullptr)); for (auto t : inputs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 9.1K bytes - Viewed (0)