Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for destroyed (0.24 sec)

  1. 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).
    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
      template <typename G>
      explicit Cleanup(G&& f)          // NOLINT
    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/eager/abstract_context.h

      // clients from directly destroying this object since it may manage its own
      // lifetime through ref counting. Thus clients MUST call Release() in order to
      // destroy an instance of this class.
      virtual void Release() = 0;
    
      // Creates an operation builder and ties it to this context.
      // The returned object can be used for setting operation's attributes,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // Dereferences the backing buffer for the variable. Note that since this can
      // fail (it runs operations), it must be called explicitly and the resulting
      // `status` checked.
      void Destroy(TFE_Context* context, TF_Status* status);
    
      // Reads from the variable.
      TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
      // Assigns a new value to the variable.
    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)
  4. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_SetConfig(TF_SessionOptions* options,
                                            const void* proto, size_t proto_len,
                                            TF_Status* status);
    
    // Destroy an options object.
    TF_CAPI_EXPORT extern void TF_DeleteSessionOptions(TF_SessionOptions*);
    
    // TODO(jeff,sanjay):
    // - export functions to set Config fields
    
    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)
  5. tensorflow/c/eager/c_api_unified_experimental_internal.h

                                  TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kGraph || ptr->getKind() == kMlir;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/abstract_operation.h

      // clients from directly destroying this object since it may manage it's own
      // lifetime through ref counting. Thus this must be allocated on the heap and
      // clients MUST call Release() in order to destroy an instance of this class.
      virtual void Release() = 0;
    
      virtual Status Reset(const char* op, const char* raw_device_name) = 0;
    
      virtual const string& Name() const = 0;
    
      // Returns the operation's device name.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

                                                          unsigned char enable);
    
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
        TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy);
    
    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    // "Context" under which operations/functions are executed. It encapsulates
    // things like the available devices, resource manager etc.
    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/experimental/grappler/grappler.h

                            TF_Buffer*, TF_Status*);
    
      // [Optional]
      // Destroy function for optimizer. If Create function is provided, destroy
      // function is must.
      void (*destroy_func)(void*);
    } TP_Optimizer;
    
    #define TP_OPTIMIZER_STRUCT_SIZE TF_OFFSET_OF_END(TP_Optimizer, destroy_func)
    
    typedef struct TP_OptimizerRegistrationParams {
      size_t struct_size;
    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)
  9. tensorflow/c/experimental/grappler/grappler_internal.h

      }
      Status Optimize(Cluster* cluster, const GrapplerItem& item,
                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
          (*optimizer_.destroy_func)(c_optimizer_);
        }
      }
    
     private:
      TP_Optimizer optimizer_;
      std::string device_type_;
      void* c_optimizer_;
    };
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// NOTE: TensorFlow does not unload DSOs. Thus, the only way a filesystem
      /// won't be registered anymore is if this function gets called by core
      /// TensorFlow and the `TF_Filesystem*` object is destroyed. However, due to
      /// registration being done in a static instance of `Env`, the destructor of
      /// `FileSystem` is never called (see
      /// https://github.com/tensorflow/tensorflow/issues/27535). In turn, 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