Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hillis (0.16 sec)

  1. tensorflow/c/eager/gradient_checker.cc

    using namespace std;
    
    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

    TEST(RamFileBlockCacheTest, Inconsistent) {
      // Tests the detection of interrupted reads leading to partially filled blocks
      // where we expected complete blocks.
      const size_t block_size = 16;
      // This fetcher returns OK but only fills in one byte for any offset.
      auto fetcher = [block_size](const string& filename, size_t offset, size_t n,
                                  char* buffer, TF_Status* status) -> int64_t {
        EXPECT_EQ(n, block_size);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top