Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_GetTempFileName (0.26 sec)

  1. tensorflow/c/env.cc

      ::tensorflow::Env::Default()->GetLocalTempDirectories(tmpdirs);
    
      auto* list = new TF_StringStream;
      list->list = tmpdirs;
      list->position = 0;
      return list;
    }
    
    char* TF_GetTempFileName(const char* extension) {
      return strdup(::tensorflow::io::GetTempFilename(extension).c_str());
    }
    
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) {
      return ::tensorflow::Env::Default()->NowNanos();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/env.h

    TF_CAPI_EXPORT extern TF_StringStream* TF_GetLocalTempDirectories(void);
    
    // Creates a temporary file name with an extension.
    // The caller is responsible for freeing the returned pointer.
    TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension);
    
    // Returns the number of nanoseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void);
    
    // Returns the number of microseconds since the Unix epoch.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      char* temp_file_name = TF_GetTempFileName("");
      file->plugin_file = new tf_writable_file::GCSFile(
          {std::move(bucket), std::move(object), &gcs_file->gcs_client,
           TempFile(temp_file_name, std::ios::binary | std::ios::out), true,
           (gcs_file->compose ? 0 : -1)});
      // We are responsible for freeing the pointer returned by TF_GetTempFileName
      free(temp_file_name);
    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)
Back to top