- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for tx_status (0.14 sec)
-
src/database/sql/sql_test.go
func TestTxCannotCommitAfterRollback(t *testing.T) { db := newTestDB(t, "tx_status") defer closeDB(t, db) // First check query reporting is correct. var txStatus string err := db.QueryRow("SELECT|tx_status|tx_status|").Scan(&txStatus) if err != nil { t.Fatal(err) } if g, w := txStatus, "autocommit"; g != w { t.Fatalf("tx_status=%q, wanted %q", g, w) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
tensorflow/c/kernels.cc
TF_Status* status) { auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx); tensorflow::NameAttrList function; auto cc_status = cc_ctx->GetAttr(attr_name, &function); if (!cc_status.ok()) { tsl::Set_TF_Status_from_Status(status, cc_status); return nullptr; } TF_Buffer* buffer = TF_NewBuffer(); cc_status = tensorflow::MessageToBuffer(function, buffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
int VisibleDeviceCount() const override { int visible_device_count = 0; tensorflow::TF_StatusPtr c_status(TF_NewStatus()); platform_fns_.get_device_count(&platform_, &visible_device_count, c_status.get()); if (TF_GetCode(c_status.get()) != TF_OK) { LOG(ERROR) << TF_Message(c_status.get()); return 0; } return visible_device_count; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
if (TF_GetCode(c_status.get()) != TF_OK) { LOG(ERROR) << TF_Message(c_status.get()); } return StatusFromTF_Status(c_status.get()); } bool MemcpyDeviceToDevice(Stream* stream, DeviceMemoryBase* gpu_dst, const DeviceMemoryBase& gpu_src, uint64 size) override { OwnedTFStatus c_status(TF_NewStatus());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
TF_Status* const status) -> void { *stream = new SP_Stream_st(1); }; se_.destroy_stream = [](const SP_Device* const device, SP_Stream stream) -> void { delete stream; }; se_.create_event = [](const SP_Device* const device, SP_Event* event, TF_Status* const status) -> void { *event = new SP_Event_st(2); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.cc
} tensorflow::AllocatorStats tf_stats; tf_stats.num_allocs = se_stats->num_allocs; tf_stats.bytes_in_use = se_stats->bytes_in_use; tf_stats.peak_bytes_in_use = se_stats->peak_bytes_in_use; tf_stats.largest_alloc_size = se_stats->largest_alloc_size; tf_stats.bytes_limit = se_stats->bytes_limit; tf_stats.bytes_reserved = se_stats->bytes_reserved; tf_stats.peak_bytes_reserved = se_stats->peak_bytes_reserved;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
#include "absl/status/status.h" #include "absl/strings/string_view.h" #include "flatbuffers/flatbuffer_builder.h" // from @flatbuffers #include "tensorflow/c/kernels.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/compiler/mlir/lite/debug/debug_options.pb.h" #include "tensorflow/compiler/mlir/lite/metrics/error_collector.h" #include "tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
ApiConverter::StackHelper<XLA_Shape> tpu_shape; StatusHelper status; stream_executor::tpu::ExecutorApiFn()->XlaShapeToTpuShapeRepresentationFn( &se_shape.value, type, use_fast_memory, &tpu_shape.value, status.c_status); if (!status.status().ok()) { return status.status(); } return tpu_shape.AsCpp<xla::Shape>(); } // Given a tensor, returns the shape of its representation on device,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
// returns `std::nullopt`. std::optional<llvm::StringRef> GetTpuClusterName(Operation* op) { if (auto tpu_status = op->getAttrOfType<StringAttr>(kTpuStatusAttr)) { // Borrow cluster name from TPU status (for `TPUCompilationResult` op). return tpu_status.getValue(); } auto device_type = op->getAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
cmd/data-scanner.go
sizeS.replTargetStats = make(map[string]replTargetSizeSummary) } for arn, tgtStatus := range roi.TargetStatuses { tgtSizeS, ok := sizeS.replTargetStats[arn] if !ok { tgtSizeS = replTargetSizeSummary{} } switch tgtStatus { case replication.Pending: tgtSizeS.pendingCount++ tgtSizeS.pendingSize += oi.Size sizeS.pendingCount++
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:43:17 UTC 2024 - 47.6K bytes - Viewed (0)