- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Sync (0.22 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
gcs_file->object.c_str()); if (TF_GetCode(status) != TF_OK) return; gcs_file->sync_need = false; } else { TF_SetStatus(status, TF_OK, ""); } } void Sync(const TF_WritableFile* file, TF_Status* status) { auto gcs_file = static_cast<GCSFile*>(file->plugin_file); TF_VLog(3, "Sync: gs://%s/%s", gcs_file->bucket.c_str(), gcs_file->object.c_str()); Flush(file, status); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
ops_->flush(file_.get(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); } Status ModularWritableFile::Sync() { if (ops_->sync == nullptr) return Flush(); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); ops_->sync(file_.get(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/env.cc
auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Sync()); } void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); TF_SetStatus(status, TF_OK, "");
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
~ModularWritableFile() override { ops_->cleanup(file_.get()); } Status Append(StringPiece data) override; Status Close() override; Status Flush() override; Status Sync() override; Status Name(StringPiece* result) const override; Status Tell(int64_t* position) override; private: std::string filename_; std::unique_ptr<TF_WritableFile> file_;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Controls how to act when we try to run an operation on a given device but // some input tensors are not on that device. // LINT.IfChange // Note: Keep in sync with internal copy of enum in eager/context.h. typedef enum TFE_ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
#include "tensorflow/core/util/device_name_utils.h" namespace tensorflow { class EagerExecutor; class EagerContext; class CustomDevice; class CustomDeviceOpHandler; class Device; // LINT.IfChange // Note: Keep in sync with exported copy of enum in eager/c_api.h. enum ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. DEVICE_PLACEMENT_EXPLICIT = 0,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Causes the calling thread to block till all ops dispatched in this executor // have been executed. Note that "execution" here refers to kernel execution / // scheduling of copies, etc. Similar to sync execution, it doesn't guarantee // that lower level device queues (like GPU streams) have been flushed. // // This call may not block for execution of ops enqueued concurrently with this // call.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
ci/official/upload.sh
# contents. About arguments to gsutil: # "gsutil -m rsync" runs in parallel. # "gsutil rsync -r" is recursive and makes directories work. # "gsutil rsync -d" is "sync and delete files from destination if not present in source" DOWNLOADS="$(mktemp -d)" mkdir -p "$DOWNLOADS" gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS" ls "$DOWNLOADS"
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jan 24 20:52:12 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
handle->TypeString(), " tensor handle."); return nullptr; } tensorflow::Device* device(handle->device()); if (device != nullptr) { status->status = device->Sync(); if (!status->status.ok()) { return nullptr; } } const tensorflow::Tensor* tensor; status->status = handle->Tensor(&tensor); if (!status->status.ok()) { return nullptr; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
void Append(const TF_WritableFile* file, const char* buffer, size_t n, TF_Status* status); int64_t Tell(const TF_WritableFile* file, TF_Status* status); void Flush(const TF_WritableFile* file, TF_Status* status); void Sync(const TF_WritableFile* file, TF_Status* status); void Close(const TF_WritableFile* file, TF_Status* status); } // namespace tf_writable_file namespace tf_read_only_memory_region {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0)