Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for executed (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
      // if sanity checks on dtypes/metadata fail.
      absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> Execute(
          TFE_Context* context, const std::vector<ParallelTensor*>& inputs,
          const char* operation_name, const TFE_OpAttrs* attributes,
          int expected_max_outputs, TF_Status* status) const;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_context.h

    namespace tensorflow {
    
    // Abstract interface to a context.
    //
    // This serves as a factory for creating `AbstractOperation`s and for
    // registering traced functions.
    // Operations creation within a context can only be executed in that context
    // (for now at least).
    // Implementations of the context may contain some state e.g. an execution
    // environment, a traced representation etc.
    class AbstractContext {
     protected:
    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/c_api.h

                                                        const char* name);
    
    // Enables tracing of RunMetadata on the ops executed from this context.
    TF_CAPI_EXPORT extern void TFE_ContextEnableRunMetadata(TFE_Context* ctx);
    
    // Disables tracing of RunMetadata on the ops executed from this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableRunMetadata(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)
  4. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      TFE_TensorHandle* result_handle;
      int num_retvals = 1;
      TFE_Execute(op.get(), &result_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      return TensorHandlePtr(result_handle);
    }
    
    template <typename value_type>
    void ExpectScalarEq(TFE_TensorHandle* handle, value_type expected_value) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device.h

    // and `underlying_devices` is
    //   {"/job:localhost/replica:0/task:0/device:GPU:0",
    //    "/job:localhost/replica:0/task:0/device:GPU:1"}
    // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1.
    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    //    control_outputs: vector of TF_Operation objects to be marked as control
    //      outputs of the function. Operations marked as control outputs are
    //      guaranteed to execute.
    //    control_output_names: Optional. If not nullptr, vector of strings, one
    //      per control output, with their names to be added to the function's
    //      OpDef.
    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)
  7. tensorflow/c/eager/custom_device_testutil.h

                               bool strict_scope_placement, bool* arrived_flag,
                               bool* executed_flag, TF_Status* status);
    void AllocateLoggingDevice(const char* name, bool* arrived_flag,
                               bool* executed_flag, TFE_CustomDevice** device,
                               void** device_info);
    TFE_TensorHandle* UnpackTensorHandle(TFE_TensorHandle* logged_tensor_handle,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_macros_internal.h

    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_operation.h

      virtual Status SetDeviceName(const char* name) = 0;
    
      virtual Status AddInput(AbstractTensorHandle* input) = 0;
      virtual Status AddInputList(
          absl::Span<AbstractTensorHandle* const> inputs) = 0;
      virtual Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                             int* num_retvals) = 0;
    
      virtual Status SetAttrString(const char* attr_name, const char* data,
                                   size_t length) = 0;
    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)
  10. tensorflow/c/eager/c_api_experimental.h

        TF_Status* status);
    
    // -----------------------------------------------------------------------------
    // Eager Executor APIs.
    typedef struct TFE_Executor TFE_Executor;
    
    // Creates a new eager Executor. Nodes in one executor are guaranteed to be
    // executed in sequence. Assigning nodes to different executors allows executing
    // nodes in parallel.
    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)
Back to top