Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Langen (0.24 sec)

  1. tensorflow/c/eager/gradient_checker.cc

    namespace tensorflow {
    namespace gradients {
    
    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.
    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/gcs_filesystem_test.cc

      ASSERT_TRUE(CompareSubString(0, 4, result, read));
    
      read = tf_random_access_file::Read(file, content_view.length() - 2, 4, result,
                                         status_);
      ASSERT_EQ(TF_GetCode(status_), TF_OUT_OF_RANGE) << TF_Message(status_);
      ASSERT_TRUE(CompareSubString(content_view.length() - 2, 2, result, read));
    
      delete[] result;
      tf_random_access_file::Cleanup(file);
      delete file;
    }
    
    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)
Back to top