Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for distribution (0.37 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        // We add a random value into `test_dir` to ensures that two consecutive
        // runs are unlikely to clash.
        std::random_device rd;
        std::mt19937 gen(rd());
        std::uniform_int_distribution<> distribution;
        std::string rng_val = std::to_string(distribution(gen));
        return tensorflow::io::JoinPath(std::string(test_dir), rng_val);
      } else {
        return "";
      }
    }
    
    static std::string* GetTmpDir() {
    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/modular_filesystem_test.cc

      }
    
      // Initializes the randomness used to ensure test isolation.
      static void InitializeTestRNG() {
        std::random_device rd;
        std::mt19937 gen(rd());
        std::uniform_int_distribution<> distribution;
        rng_val_ = distribution(gen);
      }
    
      static void SetCloudPath(const std::string& cloud_path) {
        cloud_path_ = cloud_path;
        if (cloud_path_.back() == '/') cloud_path_.pop_back();
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top