Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Tucker (0.2 sec)

  1. 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)
  2. 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 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. 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) {
    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)
  4. 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 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top