Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for passion (0.2 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 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

      // Assigns a new value to the variable.
      void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status);
      // Adds `value` to the existing value of the variable.
      void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                     TF_Status* status);
    
     private:
      // Helper for running any single-argument assignment ops (Assign, AssignAdd,
      // AssignSub, ...).
    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/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 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  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 30 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. 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 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

        TFE_Context* ctx, TF_Tensor* t, TF_Status* status);
    
    // Create a packed TensorHandle with the given list of TensorHandles.
    // If `handles` are on the same device, assign the same device to the packed
    // handle; if `handles` are on different deivces, assign a CompositeDevice to
    // it.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_CreatePackedTensorHandle(
        TFE_Context* ctx, TFE_TensorHandle** handles, int* num_handles,
    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/c_test_util.h

      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
      TF_Tensor* output_tensor(int i) { return output_values_[i]; }
    
      TF_Session* mutable_session() { return session_; }
    
     private:
      void DeleteInputValues();
      void ResetOutputValues();
    
      TF_Session* session_;
      std::vector<TF_Output> inputs_;
      std::vector<TF_Tensor*> input_values_;
      std::vector<TF_Output> outputs_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// The following data structures incorporate a `void*` that is opaque to
    /// TensorFlow but can be used by each filesystem plugin to represent internal
    /// data.
    ///
    /// We prefer to have these structures instead of passing `void*` into
    /// method signatures to have some type of type safety: for example, operations
    /// that are only valid on random access files have a `TF_RandomAccessFile`
    /// argument.
    ///
    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