Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Potter (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      TFE_OpSetAttrShape(op.get(), "shape", dims, num_dims, status);
      TFE_OpSetAttrString(op.get(), "container", "", 0);
      // Use the special GUID for no buffer sharing
      //
      // TODO(allenl): Should we provide a better API for this? AFAIK this is the
      // only reasonable way to make variables with no aliasing using the eager C
      // API.
      std::string no_sharing = "cd2c89b7-88b7-44c8-ad83-06c2a9158347";
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    static void Cleanup(TF_RandomAccessFile* file) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      close(posix_file->fd);
      // This would be safe to free using `free` directly as it is only opaque.
      // However, it is better to be consistent everywhere.
      plugin_memory_free(const_cast<char*>(posix_file->filename));
      delete posix_file;
    }
    
    static int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t 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

    // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem
    // ----------------------------------------------------------------------------
    namespace tf_gcs_filesystem {
    // TODO(vnvo2409): Use partial reponse for better performance.
    // TODO(vnvo2409): We could do some cleanups like `return TF_SetStatus`.
    // TODO(vnvo2409): Refactor the filesystem implementation when
    // https://github.com/googleapis/google-cloud-cpp/issues/4482 is done.
    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