- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for DELETE (0.2 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/env.cc
*result = nullptr; return false; } *result = list->list->at(list->position++).c_str(); return true; } void TF_StringStreamDone(TF_StringStream* list) { delete list->list; delete list; } TF_StringStream* TF_GetChildren(const char* dirname, TF_Status* status) { auto* children = new std::vector<::tensorflow::string>; 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/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) -
ci/official/utilities/cleanup_docker.sh
# limitations under the License. # ============================================================================== cat <<EOF IMPORTANT: These tests ran under docker. This script does not clean up the container for you! You can delete the container with: $ docker rm -f tf You can also execute more commands within the container with e.g.: $ docker exec tf bazel clean $ docker exec -it tf bash EOF
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 10 20:26:29 GMT 2023 - 998 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)