Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for files (0.16 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                       TransactionToken* token,
                                       std::vector<Status>* status) {
      if (ops_->paths_exist == nullptr)
        return FileSystem::FilesExist(files, token, status);
    
      std::vector<char*> translated_names;
      translated_names.reserve(files.size());
      for (int i = 0; i < files.size(); i++)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      plugin_memory_free(const_cast<char*>(posix_file->filename));
      delete posix_file;
    }
    
    static void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                       TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      size_t r = fwrite(buffer, 1, n, posix_file->handle);
      if (r != n)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    void Sync(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      TF_VLog(3, "Sync: gs://%s/%s", gcs_file->bucket.c_str(),
              gcs_file->object.c_str());
      Flush(file, status);
    }
    
    void Close(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      TF_VLog(3, "Close: gs://%s/%s", gcs_file->bucket.c_str(),
    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)
  4. 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)
Back to top