Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for buffered (0.2 sec)

  1. tensorflow/c/c_api.h

    //
    // Params:
    //  op_list_buffer - TF_Buffer instance containing serialized OpList
    //    protocol buffer. (See
    //    https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto
    //    for the OpList proto definition).
    //  status - Set to OK on success and an appropriate error on failure.
    TF_CAPI_EXPORT extern TF_ApiDefMap* TF_NewApiDefMap(TF_Buffer* op_list_buffer,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

                             TFE_TensorHandle* value, TF_Status* status);
    
      // The a handle for the resource-dtype tensor pointing to the variable's
      // buffer.
      TFE_TensorHandle* handle_;
      // The dtype of the variable's buffer (input dtype for assignments, output
      // dtype of read operations).
      TF_DataType type_;
    };
    
    // Creates a TFE_TensorHandle with value `v`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    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);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status);
    int64_t Tell(const TF_WritableFile* file, TF_Status* status);
    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)
  4. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    }  // namespace tf_posix_filesystem
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

    // filesystem to indicate that the content has been persisted.
    TF_CAPI_EXPORT extern void TF_SyncWritableFile(TF_WritableFileHandle* handle,
                                                   TF_Status* status);
    
    // Flush local buffers to the filesystem. If the process terminates after a
    // successful flush, the contents may still be persisted, since the underlying
    // filesystem may eventually flush the contents.  If the OS or machine crashes
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
        unsigned char enable_xla_compilation, unsigned char gpu_memory_allow_growth,
        unsigned int num_cpu_devices);
    
    // Create a serialized tensorflow.RunOptions proto, where RunOptions.trace_level
    // is set to FULL_TRACE if `enable_full_trace` is non-zero, and NO_TRACE
    // otherwise.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateRunOptions(
        unsigned char enable_full_trace);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    // Disables tracing of RunMetadata on the ops executed from this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableRunMetadata(TFE_Context* ctx);
    
    // Populates the passed-in buffer with a serialized RunMetadata protocol buffer
    // containing any run metadata information accumulated so far and clears this
    // information.
    // If async mode is enabled, this call blocks till all currently pending ops are
    // done.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

      void (*cleanup)(TF_WritableFile* file);
    
      /// Appends `buffer` of size `n` to `*file`.
      ///
      /// Core TensorFlow owns `buffer` and guarantees at least `n` bytes of storage
      /// that can be used to write data.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
      ///
      /// Plugins:
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// 4) `TF_OK` otherwise (i.e. the read succeeded, and at least one byte was
      /// placed
      ///    in `buffer`).
      ///
      /// Caller is responsible for allocating memory for `buffer`.
      /// `buffer` will be left unchanged in case of errors.
      int64_t Read(const std::string& filename, size_t offset, size_t n,
                   char* buffer, TF_Status* status);
    
      // Validate the given file signature with the existing file signature in the
    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)
Back to top