- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for bucket (0.15 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
std::string bucket, object; ParseGCSPath(path, true, &bucket, &object, status); if (TF_GetCode(status) != TF_OK) return; auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem); if (object.empty()) { auto bucket_metadata = gcs_file->gcs_client.GetBucketMetadata(bucket, gcs::Fields("")); TF_SetStatusFromGCSStatus(bucket_metadata.status(), status);
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_experimental.cc
int bucket_count) { return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() { return tensorflow::monitoring::Buckets::Exponential(scale, growth_factor, bucket_count); }); } void TFE_MonitoringDeleteBuckets(TFE_MonitoringBuckets* buckets) { delete buckets; }
C++ - Registered: Tue Apr 30 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_test.cc
static bool GetURIScheme(const std::string& scheme) { tensorflow::SchemeVector()->push_back(scheme); return true; } // This function is used for cloud filesystem // `S3` and `GCS` require the `root_dir_` to have bucket name // `HDFS` requires the `root_dir` to have namenode // `root_dir_ = scheme + "://" cloud_path_ + root_dir_` static bool SetCloudPath(const std::string& cloud_path_) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
->histogram_value.sum()); TFE_MonitoringDeleteBuckets(buckets); TFE_MonitoringDeleteSampler0(sampler); TF_DeleteStatus(status); } TEST(CAPI, MonitoringMultipleSampler) { TF_Status* status = TF_NewStatus(); auto* buckets = TFE_MonitoringNewExponentialBuckets(1.0, 2.0, 2); auto* sampler1 = TFE_MonitoringNewSampler1("test/sampler1", buckets, status, "test", "label1");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); ASSERT_TRUE(absl::StrContains(device_name, "GPU:0")) << device_name; // .backing_device of shape is CPU since the tensor is backed by CPU backing_device_name = TFE_TensorHandleBackingDeviceName(retvals[0], status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
} void NoOpDeallocator(void* data, size_t, void*) {} TEST(CAPI, MalformedTensor) { // See https://github.com/tensorflow/tensorflow/issues/7394 // num_dims = 0 implies a scalar, so should be backed by at least 4 bytes of // data. TF_Tensor* t = TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr); ASSERT_TRUE(t == nullptr); } TEST(CAPI, AllocateTensor) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)