Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for offcut (0.17 sec)

  1. 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)
  2. tensorflow/c/experimental/grappler/grappler.h

      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
      TF_TriState scoped_allocator_optimization;
    } TP_OptimizerConfigs;
    
    #define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization)
    
    // Struct for Optimizer. Plugin authors must provide an optimize function.
    // Creation and deletion functions are optional.
    typedef struct TP_Optimizer {
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_macros.h

    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// succeeded,
      ///    but the read returned a partial block, and the LRU cache contained a
      ///    block at a higher offset (indicating that the partial block should have
      ///    been a full block).
      /// 3) `TF_OUT_OF_RANGE` if the read from the remote filesystem succeeded, but
      ///    the file contents do not extend past `offset` and thus nothing was
      ///    placed in `out`.
      /// 4) `TF_OK` otherwise (i.e. the read succeeded, and at least one byte was
    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)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

                              const TF_RandomAccessFileOps* ops)
          : filename_(filename), file_(std::move(file)), ops_(ops) {}
    
      ~ModularRandomAccessFile() override { ops_->cleanup(file_.get()); }
    
      Status Read(uint64 offset, size_t n, StringPiece* result,
                  char* scratch) const override;
      Status Name(StringPiece* result) const override;
    
     private:
      std::string filename_;
      std::unique_ptr<TF_RandomAccessFile> file_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// operations.
      ///
      /// This operation must be provided. See "REQUIRED OPERATIONS" above.
      void (*cleanup)(TF_RandomAccessFile* file);
    
      /// Reads up to `n` bytes from `*file` starting at `offset`.
      ///
      /// The output is in `buffer`, core TensorFlow owns the buffer and guarantees
      /// that at least `n` bytes are available.
      ///
      /// Returns number of bytes read or -1 in case of error. Because of this
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top