Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KSession (0.31 sec)

  1. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
    
    // Destroy a session object.
    //
    // Even if error information is recorded in *status, this call discards all
    // local resources associated with the session.  The session may not be used
    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/eager/c_api_test_util.h

                                     const tensorflow::string& variable_name);
    
    TFE_Context* CreateContext(const std::string& serialized_server_def,
                               bool isolate_session_state,
                               int64_t init_timeout_in_ms);
    
    tensorflow::ServerDef ReplaceTaskInServerDef(
        const tensorflow::ServerDef& server_def, int task_index);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
        const TFE_ContextOptions* opts, TF_Status* status);
    TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_internal.h

    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
      ~TF_Operation() = default;
    };
    
    struct TF_Session {
      TF_Session(tensorflow::Session* s, TF_Graph* g);
    
      tensorflow::Session* session;
      TF_Graph* const graph;
    
      tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu);
      int last_num_graph_nodes;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session,
                                                           int tensor_id,
                                                           TF_Status* status);
    
    // On success, enqueues `tensor` into a TF-managed FifoQueue given by
    // `tensor_id`, associated with `session`. There must be a graph node named
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_internal.h

    // TODO(b/154564140): Move this to its own header. This requires splitting
    // c_api_experimental.h
    struct TFE_ContextOptions {
      TF_SessionOptions session_options;
      // true if async execution is enabled.
      bool async = false;
      TFE_ContextDevicePlacementPolicy device_placement_policy{
          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.h

    // Returns a sorted vector of names contained in `grad_def`
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
    
    class CSession {
     public:
      CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false);
      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top