Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cleanup (0.18 sec)

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

    //
    // You can call 'release()' on a Cleanup object to cancel the cleanup.
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    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);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
    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)
  3. tensorflow/c/c_op_requires.h

          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
      do {                                                                \
        ::tensorflow::Status _s(__VA_ARGS__);                             \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

    #include "tensorflow/core/config/flags.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/lib/gtl/array_slice.h"
    #include "tensorflow/core/lib/gtl/cleanup.h"
    #include "tensorflow/core/lib/gtl/flatmap.h"
    #include "tensorflow/core/lib/gtl/flatset.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

            plugin_memory_allocate_(std::move(plugin_memory_allocate)),
            plugin_memory_free_(std::move(plugin_memory_free)) {}
    
      ~ModularFileSystem() override { ops_->cleanup(filesystem_.get()); }
    
      TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT;
    
      Status NewRandomAccessFile(
          const std::string& fname, TransactionToken* token,
    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/eager/gradients.h

      // a trainable dtype.
      bool ShouldRecord(
          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
      // Consumes the internal state of the tape (so cannot be called more than
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// The only time the pointer to the `TF_*` structures from section 1 is not
    /// marked `const` in these functions is when these function are either
    /// allocating or deallocating the plugin specific data. That is, in the 4
    /// `cleanup` functions (one for each data structure), the `init` function for
    /// `TF_Filesystem` and the `new_*` methods of `TF_FilesystemOps` to initialize
    /// the 3 types of files. In all other cases, there is no need to modify the
    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)
  8. tensorflow/c/eager/c_api_experimental.h

                                                     TF_Buffer* value_buf,
                                                     TF_Status* status);
    
    // Delete configuration key-value. If `key` is a directory, recursively clean up
    // all key-values under the path specified by `key`.
    TF_CAPI_EXPORT extern void TFE_DeleteConfigKeyValue(TFE_Context* ctx,
                                                        const char* key,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // `ctx`. The `tensorflow::PluginResource` wraps a resource by plugin (as a
    // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed
    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void* plugin_resource,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top