- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for DELETE (0.22 sec)
-
tensorflow/c/eager/c_api_experimental.cc
tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus()); if (!result->counter->GetStatus().ok()) { delete result; return nullptr; } return result; } void TFE_MonitoringDeleteCounter0(TFE_MonitoringCounter0* counter) { delete counter; } TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0( TFE_MonitoringCounter0* counter) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
read_only_memory_region_ops_; std::function<void*(size_t)> plugin_memory_allocate_; std::function<void(void*)> plugin_memory_free_; ModularFileSystem(const ModularFileSystem&) = delete; void operator=(const ModularFileSystem&) = delete; }; class ModularRandomAccessFile final : public RandomAccessFile { public: ModularRandomAccessFile(const std::string& filename,
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/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_FALSE(cache.Lookup("d", &value)); } TEST(ExpiringLRUCacheTest, Delete) { // Insert an entry. tf_gcs_filesystem::ExpiringLRUCache<int> cache(1, 4); cache.Insert("a", 1); int value = 0; EXPECT_TRUE(cache.Lookup("a", &value)); EXPECT_EQ(value, 1); // Delete the entry. EXPECT_TRUE(cache.Delete("a")); EXPECT_FALSE(cache.Lookup("a", &value)); // Try deleting the entry again.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_; std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_; CheckpointReader(const CheckpointReader&) = delete; void operator=(const CheckpointReader&) = delete; }; } // namespace checkpoint } // namespace tensorflow
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
// opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed // for ResourceMgr to clean up the resource. `status` will be set. TF_CAPI_EXPORT extern void TF_CreatePluginResource( TF_OpKernelContext* ctx, const char* container_name, const char* plugin_resource_name, void* plugin_resource, void (*delete_func)(void*), TF_Status* status);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
TransactionToken* token) { if (ops_->delete_file == nullptr) return errors::Unimplemented(tensorflow::strings::StrCat( "Filesystem for ", fname, " does not support DeleteFile()")); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); std::string translated_name = TranslateName(fname); ops_->delete_file(filesystem_.get(), translated_name.c_str(),
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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
if (!metadata) { TF_SetStatusFromGCSStatus(metadata.status(), status); return; } // We have to delete the temporary object after composing. auto delete_status = gcs_client->DeleteObject(bucket, temporary_object); if (!delete_status.ok()) { TF_SetStatusFromGCSStatus(delete_status, status); return; } // We truncate the data that are already uploaded. if (!outfile->truncate()) {
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) -
ci/official/utilities/rename_and_verify_wheels.sh
fi # Repair wheels with auditwheel and delete the old one. if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl # if the wheel is already named correctly, auditwheel won't rename it. so we # list all .whl files by their modification time (ls -t) and delete anything # other than the most recently-modified one (the new one).
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 21:16:27 GMT 2024 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_context.cc
// TODO(srbs): Make AbstractContext ref counted. // parent_ctx_->Ref(); } void TapeContext::Release() { // TODO(srbs): Change to Unref() delete this; } TapeContext::~TapeContext() { // TODO(srbs): Make AbstractContext ref counted. // parent_ctx_->Unref(); } TapeOperation* TapeContext::CreateOperation() {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/c_api.cc
TF_Graph* const graph = s->graph; if (graph != nullptr) { graph->mu.lock(); graph->sessions.erase(s); const bool del = graph->delete_requested && graph->sessions.empty(); graph->mu.unlock(); if (del) delete graph; } delete s->session; delete s; } void TF_SessionRun(TF_Session* session, const TF_Buffer* run_options,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0)