- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Pound (0.14 sec)
-
tensorflow/c/c_test_util.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
char* result = new char[content_view.length()]; int64_t read = tf_random_access_file::Read(file, 0, 1, result, status_); ASSERT_EQ(read, -1) << "Read: " << read; ASSERT_EQ(TF_GetCode(status_), TF_NOT_FOUND) << TF_Message(status_); TF_SetStatus(status_, TF_OK, ""); auto gcs_file = static_cast<tf_gcs_filesystem::GCSFile*>(filesystem_->plugin_filesystem);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
TF_SetStatusFromGCSStatus(gcs_status, status); auto status_code = TF_GetCode(status); if (status_code != TF_OK && status_code != TF_NOT_FOUND) return; // If this file does not exist on server, we will need to sync it. bool sync_need = (status_code == TF_NOT_FOUND); file->plugin_file = new tf_writable_file::GCSFile( {std::move(bucket), std::move(object), &gcs_file->gcs_client,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
TF_RETURN_IF_ERROR(operation->Execute( absl::Span<AbstractTensorHandle*>(outputs), &num_outputs)); if (num_outputs != 1) { return errors::Internal("Expected 1 output but found ", num_outputs); } auto* t = dyn_cast<GraphTensor>(outputs[0]); if (!t) { return tensorflow::errors::InvalidArgument( "Unable to cast input to GraphTensor"); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test_util.cc
CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); if (dev_type == device_type) { *device_name = dev_name; LOG(INFO) << "Found " << device_type << " device " << *device_name; TF_DeleteDeviceList(devices); return true; } } TF_DeleteDeviceList(devices); return false; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
// incomplete reads may still go undetected. if (block->data.size() < block_size_) { Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max()); auto fcmp = block_map_.upper_bound(fmax); if (fcmp != block_map_.begin() && key < (--fcmp)->first) { return TF_SetStatus(status, TF_INTERNAL, "Block cache contents are inconsistent."); } } Trim();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0)