Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for runcom (0.22 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    #include "tensorflow/c/tf_status.h"
    
    namespace tf_gcs_filesystem {
    
    /// \brief An LRU block cache of file contents, keyed by {filename, offset}.
    ///
    /// This class should be shared by read-only random access files on a remote
    /// filesystem (e.g. GCS).
    class RamFileBlockCache {
     public:
      /// The callback executed when a block is not found in the cache, and needs to
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      TF_Tensor* tensor_shape = Int32Tensor({37, 1});
      TF_Operation* shape = Const(tensor_shape, func_graph.get(), s.get(), "shape");
      TF_Operation* random =
          RandomUniform(shape, TF_FLOAT, func_graph.get(), s.get());
    
      TF_Output outputs[] = {{random, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name,
                                 /*append_hash_to_fn_name=*/false, -1,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    
      ops->random_access_file_ops = static_cast<TF_RandomAccessFileOps*>(
          plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE));
      ops->random_access_file_ops->cleanup = tf_random_access_file::Cleanup;
      ops->random_access_file_ops->read = tf_random_access_file::Read;
    
      ops->writable_file_ops = static_cast<TF_WritableFileOps*>(
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        if (TF_GetCode(status) != TF_OK) {
          TF_DeleteStatus(status);
          return "";
        }
        TF_DeleteStatus(status);
    
        // We add a random value into `test_dir` to ensures that two consecutive
        // runs are unlikely to clash.
        std::random_device rd;
        std::mt19937 gen(rd());
        std::uniform_int_distribution<> distribution;
        std::string rng_val = std::to_string(distribution(gen));
    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)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                      std::string* bucket, std::string* object, TF_Status* status);
    
    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                 char* buffer, TF_Status* status);
    }  // namespace tf_random_access_file
    
    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top