Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Bucket (0.25 sec)

  1. 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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    TEST_F(GCSFilesystemTest, ParseGCSPath) {
      std::string bucket, object;
      ParseGCSPath("gs://bucket/path/to/object", false, &bucket, &object, status_);
      ASSERT_TF_OK(status_);
      ASSERT_EQ(bucket, "bucket");
      ASSERT_EQ(object, "path/to/object");
    
      ParseGCSPath("gs://bucket/", true, &bucket, &object, status_);
      ASSERT_TF_OK(status_);
      ASSERT_EQ(bucket, "bucket");
    
      ParseGCSPath("bucket/path/to/object", false, &bucket, &object, status_);
    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)
  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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h"
    #include "tensorflow/c/tf_status.h"
    
    void ParseGCSPath(const std::string& fname, bool object_empty_ok,
                      std::string* bucket, std::string* object, TF_Status* status);
    
    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.h

    // APIs for sampler buckets
    typedef struct TFE_MonitoringBuckets TFE_MonitoringBuckets;
    TF_CAPI_EXPORT extern TFE_MonitoringBuckets*
    TFE_MonitoringNewExponentialBuckets(double scale, double growth_factor,
                                        int bucket_count);
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteBuckets(
        TFE_MonitoringBuckets* buckets);
    
    // APIs for Sampler without label.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringBuckets {
      explicit TFE_MonitoringBuckets(
          std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
              fn) {
        create_buckets = fn;
      }
    
      std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
          create_buckets;
    };
    
    struct TFE_MonitoringSamplerCell {
      tensorflow::monitoring::SamplerCell cell;
    };
    
    template <int NumLabels>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  9. RELEASE.md

            to `tf.string_strip`), `tf.strings.substr`, `tf.strings.to_hash_bucket`
            (corresponds to `tf.string_to_hash_bucket`),
            `tf.strings.to_hash_bucket_fast` (corresponds to
            `tf.string_to_hash_bucket_fast`), `tf.strings.to_hash_bucket_strong`
            (corresponds to `tf.string_to_hash_bucket_strong`).
    
    ## Thanks to our Contributors
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  10. ci/official/envs/public_cache_push

    # limitations under the License.
    # ==============================================================================
    # Sourcing this enables Bazel remote cache (read and write)
    # Note that "_push" cache configs write to GCS buckets and require
    # authentication. If you are not a Googler, source "public_cache" to enable the
    # public read-only cache.
    # The cache configs are different for MacOS and Linux
    if [[ $(uname -s) == "Darwin" ]]; then
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top